[Qt-creator] Error running the application "Failed to start program. Path or permissions wrong?"

Paulo Jnkml paulo.jnkml at gmail.com
Mon Feb 9 15:51:45 CET 2009


Hi,
> Hm, I don't find any scopes "debug", "Debug", "release" or "Release"  
> in qmake's documentation.
> The documentation talks about CONFIG+=release (and CONFIG+=debug), but  
> that does *not* define a scope that could be used like  
> "release:TARGET=something" (neither lowercase nor uppercase).
>   
That's funny. Then why does

Debug:TARGET = MyDebugTarget
Release: TARGET = MyReleaseTarget

Builds the correct executable?
Did I just discover something introduced by accident?
hehe =D

Well I can confirm that if I use:

CONFIG(debug, debug|release) {
    TARGET = MyDebugTarget
} else {

    TARGET = MyReleaseTarget
}

qtcreator is able to build/execute the correct TARGET.
Yet, if I use the Debug/Release version, the TARGETs are created but 
qtcreator won't know the correct TARGET name.


Now, how do I make a third target without having to create an extra .pro?

Can I do something like

CONFIG(debug, debug | release | libDebug | libRelease) {

} else if(release???) {

}


Thanks
=)

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-creator-old/attachments/20090209/79d5b7f7/attachment.html 


More information about the Qt-creator-old mailing list