Results 1 to 14 of 14

Thread: Crash on QApplication::exec()

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,368
    Thanks
    3
    Thanked 5,018 Times in 4,794 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: Crash on QApplication::exec()

    It seems you have no debugging symbols for the libraries installed.
    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.


  2. #2
    Join Date
    Aug 2010
    Posts
    11
    Thanks
    1

    Default Re: Crash on QApplication::exec()

    Hi sorry about the delay but I've finally been able to get back to this. I have the QtCore, QtGui, etc frameworks installed in /Library/Frameworks/. How to I get the symbols to load properly?

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

    Default Re: Crash on QApplication::exec()

    Do you have the debugging symbols for those libraries? Did you build Qt in both release and debug mode?
    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.


  4. #4
    Join Date
    Aug 2010
    Posts
    11
    Thanks
    1

    Default Re: Crash on QApplication::exec()

    Yes, I built Qt as frameworks, and the debug symbols are contained in the frameworks. I can't seem to change where it is looking for them from for example QtGui.framework/Versions/4/QtGui, where it is trying to find them, to /Library/Frameworks/QtGui.framework/Versions/4/QtGui where they are located.

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

    Default Re: Crash on QApplication::exec()

    Quote Originally Posted by Nivek View Post
    Yes, I built Qt as frameworks, and the debug symbols are contained in the frameworks.
    Apparently not if the debugger can't find them.
    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.


Similar Threads

  1. QThread::exec and QApplication instantiation
    By Ray Froehlich in forum Qt Programming
    Replies: 1
    Last Post: 28th July 2010, 05:35
  2. Replies: 4
    Last Post: 1st December 2008, 11:13
  3. Quitting before the QApplication::exec()
    By jsmax in forum Qt Programming
    Replies: 2
    Last Post: 17th April 2008, 20:19
  4. Replies: 2
    Last Post: 16th March 2007, 09:04
  5. <QtGui/QApplication> vs. <QApplication>
    By seneca in forum Qt Programming
    Replies: 5
    Last Post: 25th January 2006, 10:58

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
  •  
Qt is a trademark of The Qt Company.