dumpObjectTree() and debug build of Qt



  • Hello,

    I am learning Qt on the C++ side. I would like to use dumbObjectTree(), and realize that I need a debug version of the Qt libraries for that. I downloaded the free version from the website about a month ago, and do not know if that includes a debug version or not? How should I go about getting one? Also, is there an easy way to choose which library to link to using Qt Creator? I do not see an easy way, but if I don't have multiple versions of the Qt library built and on the system, I could see how it would not show the possibility. My guess is a different kit must be made. Thanks in advance.


  • Lifetime Qt Champion

    Hi,

    What platform/Qt are you currently using ?


  • Moderators

    @JAC42 said:

    I downloaded the free version from the website about a month ago, and do not know if that includes a debug version or not?

    If you downloaded the official version from http://www.qt.io/download-open-source/, then yes it comes with both Debug and Release libraries.

    Also, is there an easy way to choose which library to link to using Qt Creator? I do not see an easy way, but if I don't have multiple versions of the Qt library built and on the system, I could see how it would not show the possibility. My guess is a different kit must be made. Thanks in advance.

    See http://doc.qt.io/qtcreator/creator-quick-tour.html. Use Button #2 to select choose between Debug and Release mode. That button also lets you select different Kits, if you have more than 1 Kit.



  • @SGaist

    I am using Mac OS X 10.9.5. I am using Qt Creator 3.3.0 based on Qt 5.4.0.


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.