Results 1 to 3 of 3

Thread: Debugging internal library

  1. #1
    Join Date
    Dec 2014
    Posts
    9
    Thanks
    2

    Default Debugging internal library

    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
    Qt Code:
    1. TEMPLATE = subdirs
    2.  
    3. SUBDIRS += \
    4. qwt \
    5. myproject
    To copy to clipboard, switch view to plain text mode 

    myproject.pro
    Qt Code:
    1. QT += core gui
    2. CONFIG += qt
    3.  
    4. TARGET = myproject
    5. TEMPLATE = app
    6.  
    7. INCLUDEPATH += $$PWD/../qwt/src
    8. DEPENDPATH += $$PWD/../qwt/src
    9.  
    10. LIBS += -L$$PWD/../../debug/qwt/lib/ -lqwt
    To copy to clipboard, switch view to plain text mode 

  2. #2
    Join Date
    Jan 2006
    Location
    Graz, Austria
    Posts
    8,416
    Thanks
    37
    Thanked 1,544 Times in 1,494 Posts
    Qt products
    Qt3 Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default Re: Debugging internal library

    Is your QWT built with debug symbols?

    Is your "run" setup finding your QWT build?

    Cheers,
    _

  3. The following user says thank you to anda_skoa for this useful post:

    gavinmagnus (10th October 2016)

  4. #3
    Join Date
    Dec 2014
    Posts
    9
    Thanks
    2

    Default Re: Debugging internal library

    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.

Similar Threads

  1. Qt Creator How to step into Thirdparty library source code while debugging?
    By vangaurd in forum Qt Tools
    Replies: 6
    Last Post: 14th September 2012, 12:13
  2. Qt Creator Testing and debugging my library with Qt Creator
    By Luc4 in forum Qt Tools
    Replies: 1
    Last Post: 1st June 2011, 19:16
  3. Replies: 0
    Last Post: 19th January 2011, 06:47
  4. Debugging helper library
    By codeman in forum Qt Tools
    Replies: 0
    Last Post: 22nd March 2010, 13:03
  5. Replies: 0
    Last Post: 4th November 2009, 07:45

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.