PDA

View Full Version : Problem while trying to build and run in QtCreator



Momergil
11th May 2013, 16:57
Hello!

Since I changed my QtCreator to the last one avaliable to be donwloaded, I found some problems while configuring QtCreator to build and run my projects.

To be more specific, if I build my software in Debug mode, I can only run it from QtCreator by normal "Run"; if I try to do it by the debugger, I get the message "Unexpected GDB Exit - The gdb process terminated.". And if I compile my software in Release mode, I can only run it with the debugger; if I try to do it only with Run, the app is not initialized and I get the message "Failed to start program. Path or permissions wrong?".

I know that this has something to do with my configuration in the Projects zone, but I simply can't find out what is wrong in it. I also went to the Build & Run section in the Options window to manage the Kits, Qt Versions, Compilers and CMake and found nothing wrong there.


Glad for any help,

Momergil

Lykurg
11th May 2013, 19:45
A shot in the dark: have you deleted the old *.pro.user? Maybe there are some settings which conflict with the new version.

Momergil
12th May 2013, 03:10
A shot in the dark: have you deleted the old *.pro.user? Maybe there are some settings which conflict with the new version.

Well, almost that! I was able to run the debugger with the app in debug compilation, but when trying to 'run' the release compilation, the same "Failed to start program. Path or permissions wrong?" appears.

Momergil
14th July 2013, 18:34
A shot in the dark: have you deleted the old *.pro.user? Maybe there are some settings which conflict with the new version.

Well, I happend the find the same problem now with another project and this time deleting the .pro.user didn't help.