Hi,
I'm trying debug my qt application but it doesn't work, or I think so. My qt version is 4.1 and it's compiled with the flag -debug-and-release.
I would like to see the debug information of qabstractsocket_debug that i can see in the source of qt, for example in $(QTDIR)/src/network/qabstractsocket.cpp. It's that possible??
I've a .pro file like this:
TEMPLATE = app
TARGET = cliente
DEPENDPATH += .
INCLUDEPATH += .
QT += network
CONFIG += console debug
# Input
HEADERS += cliente.h \
../p2pbackup/src/sslsocket.h \
../p2pbackup/src/messages.h \
../p2pbackup/src/preferences.h \
../p2pbackup/src/peerclient.h
SOURCES += cliente.cpp \
main.cpp \
../p2pbackup/src/sslsocket.cpp \
../p2pbackup/src/messages.cpp \
../p2pbackup/src/preferences.cpp \
../p2pbackup/src/peerclient.cpp
unix{
LIBS += -lssl -lcrypto
}
And in the last step my compiler output is:
g++ -Wl,-rpath,/usr/local/qt-4.1.1/lib -o cliente cliente.o main.o sslsocket.o messages.o preferences.o peerclient.o moc_cliente.o moc_sslsocket.o moc_peerclient.o -L/usr/local/qt-4.1.1//lib -lssl -lcrypto -lQtGui_debug -L/usr/local/src/qt/qt-x11-opensource-src-4.1.1/lib -L/usr/X11R6/lib -lpng -lSM -lICE -lXi -lXrender -lXrandr -lXcursor -lXinerama -lfreetype -lfontconfig -lXext -lX11 -lQtNetwork_debug -lQtCore_debug -lz -lm -ldl -lpthread
Anyone could help me??
Thanks
Bookmarks