[Qt-creator] "Failed to startprogram. Path or permissions wrong?" bug?

night nightsailer at gmail.com
Thu Feb 12 12:47:19 CET 2009


I've seen some discussion about ""Failed to startprogram. Path or
permissions wrong?" last days.
Now, I got this problem:
I found QtCreator alaways invoke release target, and ignore current
Debug configuration:

Here is example:


CONFIG(debug,debug|release) {
    DESTDIR = bin/debug
}
else {
    DESTDIR = bin/release
}



Now,  if invoke "run" action,

console output like:


/usr/bin/qmake -spec /usr/local/Qt4.5/mkspecs/macx-g++ -macx
CONFIG+=debug_and_release -o Makefile CDownAdmin.pro
....


debug target build success, but then qtcreator will raise error:

starting...
Failed to start program. Path or permissions wrong?



Now, if I manual build release target from command line:
make release

then, click run again,  application invoke success!


Now, my workaround is use same DESTDIR or TARGET for debug/release.

Anyone has better idea?





More information about the Qt-creator-old mailing list