PDA

View Full Version : Debugging issues



Plissken
17th January 2011, 02:51
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