DESTDIR and "Failed to start program" error...
-
wrote on 16 Apr 2013, 00:40 last edited by
Hi,
Just reinstalling everything after a HD crash and am trying to get Qt 5 Creator going.
However I've found something a bit weird - when I try to build/run the app, I get this error:
Failed to start program. Path or permissions wrong?
Yet the program has been correctly created and I can run it from the desktop.
My .pro file has this in it...
TARGET = Ted
DESTDIR = ../../bin...and it appears that removing the DESTDIR fixes the 'start error', but of course the app ends up in the wrong dir.
Any idea what's up? I'm on Windows 7 x64.
Bye,
Mark -
wrote on 16 Apr 2013, 04:14 last edited by
Options:
All the dependencies for the program are not being found when it is in the bin directory and run in the environment provided by Creator.
The path to the binary in the Creator Project Run settings is wrong: i.e. not pointing into the bin directory -
wrote on 17 Apr 2013, 02:54 last edited by
Argh, have tried all sorts of things with no luck. Pretty sure it's a qtcreator bug, as it sort of goes away if you change the target name, then comes back later...not sure how to describe it exactly though.
But I've managed to dig up an old qtcreator-2.4.1 which has no problems with the project, so I'll use that for now.
Thanks anyway.
1/3