Al_
12th January 2011, 20:49
Hi all
I need to debug into Qt libraries, so I installed the package libqt4-dbg. Libraries are available in /usr/lib/debug/usr/lib/ and subdirectories, including libQtCore.so.4.6.2 and libQtGui.so.4.6.2; I assume these are debug libraries with symbol tables.
When I start to debug my application, execution stops at breakpoints in my code but I am unable to step with F11 into the library source code.
Do I need to instruct QtCreator to link with the debug libraries and not the standard, non-debug Qt libraries? How?
Do I need to let gdb know, where the libraries are? How?
Al_
System: Ubuntu lucid (10.04 LTS) with Qt version as standard for lucid, i.e., Qt 4.6.2 and QtCreator1.3.1
I need to debug into Qt libraries, so I installed the package libqt4-dbg. Libraries are available in /usr/lib/debug/usr/lib/ and subdirectories, including libQtCore.so.4.6.2 and libQtGui.so.4.6.2; I assume these are debug libraries with symbol tables.
When I start to debug my application, execution stops at breakpoints in my code but I am unable to step with F11 into the library source code.
Do I need to instruct QtCreator to link with the debug libraries and not the standard, non-debug Qt libraries? How?
Do I need to let gdb know, where the libraries are? How?
Al_
System: Ubuntu lucid (10.04 LTS) with Qt version as standard for lucid, i.e., Qt 4.6.2 and QtCreator1.3.1