Can't run program from QT Creator says it exited or Cannot obtain a handle to the inferior
-
Hi there,
is there any solution to this problem?
I observed the same problem here, but the message only occurs during my QTest's.
I assume that the QTEST_APPLESS_MAIN sometimes runs into that error-message.
It seems to correlate with the presence or absence of a QCoreApplication, because if i use the same code within my Console-application the message never occurs.
Also Amartel mentioned, that his project using QCoreApplication runs without problems...Should one file a Bug-Report here?
-
-
There have been a few related issues. I had the "handle" issue among others when moving to 5.0.1. I resolved using the following steps.
- Clean project
- Close QtCreator
- Remove Release/Debug Folder from app directory
- Delete xxx.pro.user file (lives in app directory)
- Manually delete Makefile, Makefile.Debug, Makefile.Release (If still there)
- Open Qt Creator again and open your project. It should now be asking you to reconfigure your project build settings.
Also, check your environment variables – ensure they are updated for 5.0.1 paths.
"Reference to similar problem":http://qt-project.org/forums/viewthread/25326/
"Reference to another similar problem":http://qt-project.org/forums/viewthread/25058/
-
Hi tesmal4, it has been quite a while since I have seen this issue. This issue occurred for me when I had created a project under the 4.8.4 environment and tried opening the project under 5.0.1.
I am no using the latest 5.1.1 release and have had no issues of the sort. What version was your project created under?
What version are you currently trying to use? -
Seems likely that it is not a real "problem" but can be due to your application exiting too quickly when being run under QtCreator, please see this link
(http://stackoverflow.com/questions/21539162/qt-creator-code-is-running-but-i-get-an-error-message-from-the-ide