PDA

View Full Version : Debugging internal library



gavinmagnus
10th October 2016, 13:11
Hi. I'm using the popular QWT library in my project. While debugging, the debugger shows me disassembler, even when the qwt sources are present in the project. Following an advice from the forum I created a new subdirectory project, which contains my project and qwt, but I still cannot debug into the qwt library - disassembler shows anyway. What is the procedure to make the debugger get into the qwt files?

subdirs.pro


TEMPLATE = subdirs

SUBDIRS += \
qwt \
myproject


myproject.pro


QT += core gui
CONFIG += qt

TARGET = myproject
TEMPLATE = app

INCLUDEPATH += $$PWD/../qwt/src
DEPENDPATH += $$PWD/../qwt/src

LIBS += -L$$PWD/../../debug/qwt/lib/ -lqwt

anda_skoa
10th October 2016, 13:19
Is your QWT built with debug symbols?

Is your "run" setup finding your QWT build?

Cheers,
_

gavinmagnus
10th October 2016, 13:57
Thank you and sorry for bothering. I forgot about the qwtbuild.pri file, which sets up the debug build. I guess the thread might be a little more useful in QWT sub-forum.