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.
-
Hi,
What platform/Qt are you currently using ?
-
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.
@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.