Translations:Development/FAQs/Debugging FAQ/16/ja

Revision as of 04:52, 17 February 2012 by Phanect (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
kdesdk をチェックアウトし ~/.gdbinit に以下の行を加えて下さい。
source /path/to/kde/sources/kdesdk/scripts/kde-devel-gdb

そうすれば、gdb で printqstring myqstring とすることで内容を見ることができます。 たとえば、QString myqstring=QString::fromLatin1("contents") は次のマクロで調べることができます。

This page was last modified on 17 February 2012, at 04:52. This page has been accessed 94 times. Content is available under Creative Commons License SA 3.0 as well as the GNU Free Documentation License 1.2.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V.Legal