[SOLVED] Debugging with Qt Creator 2.8.1 + Qt 5.1.1 on OS X 10.8.4
I am trying to debug my project using Qt Creator 2.8.1 + Qt 5.1.1 on OS X 10.8.4 and though my application works fine, I am just not able to debug it. Here is what I get in the application output window:
Could not find object file "/Users/bld.qt/bamboo-agent-home/xml-data/build-dir/DQTC-LGPLRELEASEBUILD510-OSX106/qt5_workdir/w/s/qtbase/src/plugins/platforms/minimal/.obj/debug-shared/main.o" - no debug information available for "main.cpp".
Could not find object file "/Users/bld.qt/bamboo-agent-home/xml-data/build-dir/DQTC-LGPLRELEASEBUILD510-OSX106/qt5_workdir/w/s/qtbase/src/plugins/platforms/minimal/.obj/debug-shared/qminimalintegration.o" - no debug information available for "qminimalintegration.cpp".
Could not find object file "/Users/bld.qt/bamboo-agent-home/xml-data/build-dir/DQTC-LGPLRELEASEBUILD510-OSX106/qt5_workdir/w/s/qtbase/src/plugins/platforms/minimal/.obj/debug-shared/qminimalbackingstore.o" - no debug information available for "qminimalbackingstore.cpp".
Would anyone have any idea as what is going wrong here?
Well, I didn't expect that, but the Qt project I was trying to build hard-coded the fact that it should be built in release mode (!!). So, even though according to Qt Creator I was building in debug mode, I actually wasn't. Anyway, I commented out the offending line and now everything is fine: I can now debug the project without any problem. (FWIW, I am still getting the exact same messages I mentioned in my original message.)