Results 1 to 1 of 1

Thread: Debugging issues

  1. #1
    Join Date
    Jan 2011
    Posts
    19
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Debugging issues

    Hi, so I'm just getting started with Qt. I'm kind of getting frustrated quickly here. I keep running into issues.

    I installed 4.7.0 before 4.7.1. Uninstalled 4.7 and then installed 4.7.1. That definitely caused problems with the qmake path. Fixed that, no problem.

    I go to the tutorial at http://doc.qt.nokia.com/4.7/gettingstartedqt.html enter in the second example code. Run it, everything seems pleasant. I click the "Quit" button, and then Qt tells me the program crashes. Asks me if I want to debug in Qt Creator. I choose to. Then the computer thinks, and then a message pops up saying:

    "Starting Executable failed: C:/Qt/2010.05/qt: No such file or directory"

    So there's that problem, and also there's the following. I press the start debug button again and it gives me the following errors:

    HEAP[LearnQt.exe]:
    Invalid Address specified to RtlFreeHeap( 003E0000, 0022FE50 )
    HEAP[LearnQt.exe]:
    Invalid Address specified to RtlFreeHeap( 003E0000, 0022FE74 )
    HEAP[LearnQt.exe]:
    Invalid Address specified to RtlFreeHeap( 003E0000, 0022FE60 )


    When debugging ends, I get the message:

    "The inferior stopped because it received the signal from the Operating System.
    Signal Name: SIGSEGV
    Signal Meaning: Segmentation fault"


    Any suggestions on how to fix this?


    Added after 29 minutes:


    Well, I figured it out. Apparently the person who wrote the tutorial doesn't know how Qt works in-depth.

    http://developer.qt.nokia.com/forums/viewthread/2253
    Last edited by Plissken; 17th January 2011 at 02:51.

Similar Threads

  1. Debugging help
    By poporacer in forum Newbie
    Replies: 7
    Last Post: 7th November 2010, 18:28
  2. Replies: 3
    Last Post: 6th September 2010, 23:00
  3. Debugging Qt
    By baray98 in forum Qt Programming
    Replies: 0
    Last Post: 7th May 2008, 00:16
  4. Debugging
    By Voldemort in forum Qt Programming
    Replies: 13
    Last Post: 14th May 2007, 20:38
  5. Debugging on Mac
    By rickbsgu in forum Qt Programming
    Replies: 3
    Last Post: 13th October 2006, 13:12

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.