Results 1 to 6 of 6

Thread: Qt Creator debugging trouble on Mac OS

  1. #1
    Join Date
    Jul 2009
    Location
    Palo Alto, CA
    Posts
    3
    Qt products
    Qt4
    Platforms
    MacOS X

    Default Qt Creator debugging trouble on Mac OS

    I just installed Qt 4.5 on Mac OS X 10.5.7. Whenever I start debugging a simple "Hello World" main application in Qt Creator 1.2 I get the following message:

    <start>
    Unable to read symbols for "QtCore.framework/Versions/4/QtCore" (file not found).
    Unable to read symbols from "QtCore" (not yet mapped into memory).
    <end>

    The debugger seems to work correctly with non-Qt objects. That is, it will respect a breakpoint at a simple statement such as "int i = 1;"

    Is there something I need to do to make it possible to step into Qt Core objects?
    Last edited by johnmidd; 10th July 2009 at 02:37. Reason: wrong product

  2. #2
    Join Date
    Jul 2009
    Location
    Palo Alto, CA
    Posts
    3
    Qt products
    Qt4
    Platforms
    MacOS X

    Default Re: Qt Designer debugging trouble on Mac OS

    Sorry I meant to say Qt Creator!

  3. #3
    Join Date
    Aug 2009
    Posts
    140
    Thanks
    22
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: Qt Creator debugging trouble on Mac OS

    I am getting exactly the same messages from QtCreator on the same platform, but since I'm also using opengl, a few more--

    Unable to read symbols for "QtOpenGL.framework/Versions/4/QtOpenGL" (file not found).
    Unable to read symbols from "QtOpenGL" (not yet mapped into memory).
    Unable to read symbols for "QtGui.framework/Versions/4/QtGui" (file not found).
    Unable to read symbols from "QtGui" (not yet mapped into memory).
    Unable to read symbols for "QtCore.framework/Versions/4/QtCore" (file not found).
    Unable to read symbols from "QtCore" (not yet mapped into memory).
    The above is for a program I'm writing; I get similar messages when I run Qt demo programs. While the Qt programs seem to run without any problems, my program doesn't, and I'd like to rule out the possibility that the above has something to do with it... maybe the above indicate a hidden problem that Qt examples don't bring out?

    Matt

  4. #4
    Join Date
    Aug 2009
    Posts
    140
    Thanks
    22
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: Qt Creator debugging trouble on Mac OS

    Hmmm, actually is this just a debugger issue? Doh--I didn't install the release version so I can't see if they go away there--okay, maybe it's not such a big deal then, but it would be nice to know what's going on.

    Best,
    Matt

  5. #5
    Join Date
    Sep 2009
    Posts
    3
    Qt products
    Qt4
    Platforms
    MacOS X Windows

    Red face Re: Qt Creator debugging trouble on Mac OS

    I'm also very interested to go further into QT code.

    is there a way to build a debug version for Mac Os X?

    thanks
    Lior

  6. #6
    Join Date
    Nov 2009
    Posts
    3
    Thanks
    1
    Qt products
    Qt4
    Platforms
    MacOS X

    Default Re: Qt Creator debugging trouble on Mac OS

    I am having similar problems with this issue.

    My problem is a bit similar, but now the same.

    In QtCreator I get the same messages:

    Unable to read symbols for "QtGui.framework/Versions/4/QtGui" (file not found).
    Unable to read symbols from "QtGui" (not yet mapped into memory).
    Unable to read symbols for "QtCore.framework/Versions/4/QtCore" (file not found).
    Unable to read symbols from "QtCore" (not yet mapped into memory).

    even after doing setting up my app bundle like this:
    http://doc.trolltech.com/4.3/deployment-mac.html

    If I put Creator in Debug mode and toggle a breakpoint, it skip them even if they are in Qt or non-Qt forms...

    BUT...
    ...if I compile the project HelloWorld showed here:
    http://www.youtube.com/watch?v=pPp35CbVLKE

    And try to debug it, the previous messages appear, but it debug without any problem...

    Could anyone tell me what is different in between my code and this example that is not allowing me to debug?
    (I did not use designer like him to generate the windows, I've made it manually creating my class MainWindow subclassing from QMainWindow)

    Any help or hint?

    Thanks guys...

Similar Threads

  1. Threads in Designer plugins
    By hvengel in forum Qt Tools
    Replies: 2
    Last Post: 3rd January 2009, 19:19
  2. Program crashes with assert error in xcb_lock.c
    By Valheru in forum Qt Programming
    Replies: 3
    Last Post: 18th November 2007, 19:56
  3. KDE 3.5.0 crash while opening project
    By MarkoSan in forum KDE Forum
    Replies: 2
    Last Post: 19th October 2007, 16:21
  4. Replies: 13
    Last Post: 15th December 2006, 11:52
  5. How to create custom slot in Qt Designer 4.1?
    By jamadagni in forum Qt Tools
    Replies: 31
    Last Post: 18th January 2006, 20:46

Tags for this Thread

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.