Mac OS X 10.8.5 and Qt 5.1.1
-
Hello,
I'm having some trouble debugging with Qt on a Mac.
When I run my project in debug mode, I get a lot of warning messages like this one:
Could not find object file "/Users/bld.qt/bamboo-agent-home/xml-data/build-dir/DQTC-LGPLRELEASEBUILD510-OSX106/qt5_workdir/w/s/qtbase/src/widgets/.obj/debug-shared/qaction.o" - no debug information available for "/Users/bld.qt/bamboo-agent-home/xml-data/build-dir/DQTC-LGPLRELEASEBUILD510-OSX106/qt5_workdir/w/s/qtbase/src/widgets/kernel/qaction.cpp".
I've googled around but couldn't find a working solution (or a solution at all). All I got were old bug files.
I've checked the option "Use debug version of frameworks..." and built the GDB helper for clang 64bit.
I have also installed the XCode Command Line Tools (my XCode version is 5.0).What else can be done to solve this problem?
I installed Qt using the online installer.Thanks in advance.
-
I am having the same problem. Anyone??
-
Is your main problem the warning messages or do you want to debug into the Qt libraries? To remove the warnings disabling "Use debug version of frameworks" should help.
The best solution for debugging into the Qt libs I found was downloading qtbase-opensource-src-5.2.0.tar.gz from http://download.qt-project.org/official_releases/qt/5.2/5.2.0/submodules/
Once you built and installed it (debug build is enabled by default) you can configure (add) it in the preferences of Qt Creator under "Build & Run"/"Qt Versions" - point to the qmake executable at /usr/local/Qt-5.2.0/bin/qmake
You need to configure it also in the run configuration (Qt Creator top left under "Projects", "Build & Run") - above the Build/Run switch you can select a different Kit - use there the kit you created.