Trolltech Home | Qt-interest Home | Recent Threads | All Threads | Author | Date
All threads index page 5

Qt-interest Archive, May 2007
linking against debug version


Message 1 in thread

Hey all,

i tried to link my application against the debug version of qt 4.2.3 on feisty 
fawn.

I installed libqt4-dev and libqt4-debug. I checked if the debug and release 
versions are both installed in /usr/lib. They are both there. 

My pro file looks like 

CONFIG += debug
QT += sql
SOURCES = databaseTestGui.cpp

HEADERS = databaseTestGui.h

FORMS = databaseTest.ui

Furthermore I found this entry in the trolltech lists archive

http://lists.trolltech.com/qt4-preview-feedback/2006-09/thread00083-0.html

saying that valgrind or gdb would select libQtCore.so.4.2.0.debug (in my case 
libQtCore.so.4.2.3.debug) if it exists. But when I run my program with gdb it 
uses the libQtCore.so.4

What am I doing wrong? Are there further conditions I have to consider?

Best regards

seb

--
 [ signature omitted ]