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 -1073741511

    The 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


  • Lifetime Qt Champion

    Hi and welcome to devnet,

    Check the PATH variable content in the Run section of the Project panel



  • I see, thank you. What should I look for?

    I have two mingw versions installed. Should I delete the one that Qt isn't using?


  • Lifetime Qt Champion

    That would be better yes, having several mingw installation usually ends up in problems in this case



  • Thanks SGaist, but it dindn´t work... I think I'll keep opening my apps by clicking on the .exe generated...


  • Lifetime Qt Champion

    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.


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.