Results 1 to 5 of 5

Thread: Debugging with Qt Creator 2.8.1 + Qt 5.1.1 on OS X 10.8.4

  1. #1
    Join Date
    Mar 2010
    Posts
    319
    Thanks
    1
    Thanked 14 Times in 12 Posts
    Qt products
    Qt4 Qt5
    Platforms
    MacOS X Unix/X11 Windows

    Question Debugging with Qt Creator 2.8.1 + Qt 5.1.1 on OS X 10.8.4

    Hi,

    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:

    Debugging starts
    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?

    Cheers, Alan.

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,363
    Thanks
    3
    Thanked 5,012 Times in 4,791 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: Debugging with Qt Creator 2.8.1 + Qt 5.1.1 on OS X 10.8.4

    It seems your app is built in release mode without debugging symbols.
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  3. #3
    Join Date
    Mar 2010
    Posts
    319
    Thanks
    1
    Thanked 14 Times in 12 Posts
    Qt products
    Qt4 Qt5
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: Debugging with Qt Creator 2.8.1 + Qt 5.1.1 on OS X 10.8.4

    Well, I didn't expect that, but you are correct (so, thanks for that indeed!). I mean, according to Qt Creator, I was building in debug mode (hence I thought it was all fine), but the Qt project I was trying to build hard-coded the fact that it should be built in release mode (!!). So, I commented out the line that does that 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.)

  4. #4
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,363
    Thanks
    3
    Thanked 5,012 Times in 4,791 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: Debugging with Qt Creator 2.8.1 + Qt 5.1.1 on OS X 10.8.4

    Try rebuilding the project from scratch. If needed, delete all the intermediate files by hand.
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  5. #5
    Join Date
    Mar 2010
    Posts
    319
    Thanks
    1
    Thanked 14 Times in 12 Posts
    Qt products
    Qt4 Qt5
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: Debugging with Qt Creator 2.8.1 + Qt 5.1.1 on OS X 10.8.4

    I tried, but to no avail. As it happens, I have just tried with another Qt project and I got the same (looking, if anything) messages. Maybe I am missing something in my Qt Creator settings, I don't know. All I can say is that those two projects use QMake while my main (personal) project uses CMake and I have never seen anything like that with CMake.

Similar Threads

  1. Qt Creator Debugging with Qt Creator 2.6.1 on OS X
    By agarny in forum Qt Tools
    Replies: 1
    Last Post: 24th January 2013, 12:13
  2. Creator/debugging
    By jhowland in forum Qt Programming
    Replies: 1
    Last Post: 21st October 2010, 09:16
  3. qt creator debugging problem
    By sujan.dasmahapatra in forum Qt Programming
    Replies: 1
    Last Post: 16th December 2009, 21:10
  4. Debugging in QT Creator
    By cae in forum Qt Tools
    Replies: 6
    Last Post: 16th November 2009, 12:45
  5. debugging in QT Creator
    By talk2amulya in forum Qt Tools
    Replies: 3
    Last Post: 22nd February 2009, 06:50

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.