Problem running app inside Qt Creator
-
When I build my project inside Qt Creator I get this error message:
bq. Starting C:\Users\Martín\Documents\Qt\build-Anagrama-Desktop-Release\release\Nameproject.exe...
The program has unexpectedly finished.
C:\Users\Martín\Documents\Qt\build-Anagrama-Desktop-Release\release\Nameproject.exe exited with code -1073741511The weird thing is that I can run the app outside Qt, clicking directly on the .exe generated.
I already looked around and everybody has the oposite problem!I wanted to know what parameters should I check for this to get solved.
- Tool/options?
- System path?
- ...
I'm using Qt Creator 2.7.1
Based on Qt 4.8.4 (32 bit)
MinGw 4.4.0
Windows 7 64 bits -
Hi and welcome to devnet,
Check the PATH variable content in the Run section of the Project panel
-
That would be better yes, having several mingw installation usually ends up in problems in this case
-
Since you removed the other mingw, you should erase the project.pro.user in your source directory and reconfigure your project from scratch. Your environment might have changed but it's not been reflected on your project.