Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
[SOLVED] Failed to start program. Path or permissions wrong?
I am getting this message when I try to run my application. Please help.
I got the code from a book. Added "QT += core gui widgets" to the pro file.
Included some header files. Then ran qmake and when it builds fine.
But wen I try to run I get the above message.
I tried the second one but could not follow what it was saying.
How do I change the run configuration? Please advice.
I find a file with no name but type "Application" in this folder.
You can change current run configuration (if you have more than one) in the lower left corner of the creator, just above the green "play" buttons (or just ctrl+t to cycle through). To setup new or remove configurations go to the "Projects" tab as described "here":http://qt-project.org/doc/qtcreator-3.0/creator-run-settings.html
Anyway, before you do start fiddling with these options just try this:
- close creator
- remove directories: F:\UNISA SRC\src\modelview\build-multiview-Desktop_Qt_5_0_2_MSVC2012_64bit-[Release/Debug]
- remove <whatever>.pro.user file (not the <whatever>.pro file!)
- reopen the project in creator and recreate configuration when prompted
Tried everything still no luck.
The run settings seems to be fine.
Is there an executable in that directory after build? If not there might be something wrong in your .pro file. Can you show it?
Thanks for the help.
I did the dumb way. Made a new project and copied the code and its working now.
Thank you once again.
sedonk last edited by
Don't use "setup" or "install" in executable names under Windows.
example: MyApp_Setup.exe needs admin permission.