when i start a debugging session within qt-creator, it says --------------------------------------------------------------------- The debugger could not load the debugging helper library.The debugging helper is used to nicely format the values of some Qt and Standard Library data types. It must be compiled for each used Qt version separately. This can be done in the Qt preferences page by selecting a Qt installation and clicking on 'Rebuild' in the 'Debugging Helper' row. --------------------------------------------------------------------- I dont know what this is. imho it could be either the 'debug' data for shared libraries, or some other stuff like gdb scripts. Related to the first point, i have USE=debug and the qt-core debug stuff is there: --------------------------------------------------------------------- % equery files qt-core * Searching for qtcore ... * Contents of x11-libs/qt-core-4.6.3: /etc /etc/env.d /etc/env.d/44qt4 (...) /usr/lib /usr/lib/debug /usr/lib/debug/usr /usr/lib/debug/usr/bin /usr/lib/debug/usr/bin/lconvert.debug /usr/lib/debug/usr/bin/lrelease.debug /usr/lib/debug/usr/bin/lupdate.debug /usr/lib/debug/usr/bin/moc.debug /usr/lib/debug/usr/bin/qmake.debug /usr/lib/debug/usr/bin/rcc.debug /usr/lib/debug/usr/bin/uic.debug /usr/lib/debug/usr/lib64 /usr/lib/debug/usr/lib64/qt4 /usr/lib/debug/usr/lib64/qt4/libQtCore.so.4.6.3.debug /usr/lib/debug/usr/lib64/qt4/libQtNetwork.so.4.6.3.debug /usr/lib/debug/usr/lib64/qt4/libQtXml.so.4.6.3.debug /usr/lib/debug/usr/lib64/qt4/plugins /usr/lib/debug/usr/lib64/qt4/plugins/codecs /usr/lib/debug/usr/lib64/qt4/plugins/codecs/libqcncodecs.so.debug /usr/lib/debug/usr/lib64/qt4/plugins/codecs/libqjpcodecs.so.debug /usr/lib/debug/usr/lib64/qt4/plugins/codecs/libqkrcodecs.so.debug /usr/lib/debug/usr/lib64/qt4/plugins/codecs/libqtwcodecs.so.debug (...) --------------------------------------------------------------------- Reproducible: Always
Ah, somewhere else i've found this: ---------------------------------------------------------------- The debugging helper library was not found at /usr/share/qt4/qtc-debugging-helper/libgdbmacros.so, /usr/qtc-debugging-helper/30324244/libgdbmacros.so, /home/orzel/.local/share/data/Nokia/QtCreator/qtc-debugging-helper/30324244/libgdbmacros.so. ---------------------------------------------------------------- So, indeed, it's not looking after debug libraries but some gdb stuff that i can't find in gentoo packages. i've checked in qt-core: "equery files qt-core | grep gdb -i" gives nothing.
(In reply to comment #0) > It must be compiled for each used Qt version separately. This can be done in > the Qt preferences page by selecting a Qt installation and clicking on > 'Rebuild' in the 'Debugging Helper' row. > --------------------------------------------------------------------- Do what it's suggesting. :)
uh?? Are you serious.. ? What they say is to start a script that trigger recompilation of Qt. That is, outside from gentoo/portage scope. Something usual under windows (this is how your get Qt with debug symbols for example). But not under gentoo. For example, the user has no root permissions to do so, portage db would not be updated, and so on.
(In reply to comment #3) > uh?? Are you serious.. ? What they say is to start a script that trigger > recompilation of Qt. That is, outside from gentoo/portage scope. Something > usual under windows (this is how your get Qt with debug symbols for example). > But not under gentoo. For example, the user has no root permissions to do so, > portage db would not be updated, and so on. > You don't have to recompile Qt for that. Just try the suggestion
Tools->Options->Qt4-><Select your Qt>->Rebuild->Done!
(In reply to comment #3) > uh?? Are you serious.. ? What they say is to start a script that trigger > recompilation of Qt. That is, outside from gentoo/portage scope. Something > usual under windows (this is how your get Qt with debug symbols for example). > But not under gentoo. For example, the user has no root permissions to do so, > portage db would not be updated, and so on. > Yes, I'm serious. You will just build a small library which takes a couple of seconds to compile and which will be placed inside your home dir. This has nothing to do with portage. Thus I think this is invalid, unless you're suggesting to create a new ebuild for the helper library...
no, you're right, i've done it and indeed it's only a small step inside the home directory. Really weird. Sorry for the noise :-(