[Qt-creator] Error running the application "Failed to start program. Path or permissions wrong?"
Gilles Valette
gilles.valette at univ-reims.fr
Sun Feb 8 15:31:28 CET 2009
Message de Paulo Jnkml <paulo.jnkml at gmail.com>:
> If I use debug or release:
> debug {
> //this is ignored
> TARGET = debug
> }
> release {
> //ignored
> TARGET = release
> }
>
> Debug {
> //works =)
> TARGET = Debug
> }
>
> Release {
> //works =)
> TARGET = Release
> }
>
I confirm this weird behaviour ! I get correct target names with :
Debug:NAME = debug
Release:NAME = release
TARGET = $$NAME
and not with 'd'ebug and 'r'elease, even if in the qmake help I find
debug / release and not Debug / Release.
I also get the correct target names if I use:
CONFIG(debug, debug|release) {
NAME = debug }
else {
NAME = release }
TARGET = $$NAME
> If I don't give the every target the same name as the project, it wont run...
Same result for me (from QtCreator, the program is launched correctly
from the command line). The OS is Windows XP.
Regards.
Gilles
More information about the Qt-creator-old
mailing list