[Qt-creator] qmake debug release conditional builds

paulo paulo.jnkml at gmail.com
Mon Nov 9 00:29:18 CET 2009


Hi all,

there's been a few threads about conditional release debug build problems.
I myself wrote one a while ago, but with no success.

Anyone can try something like this:


debug {

release {

error("release set with debug!")

}

TARGET = app.bin

} else {

TARGET = app.dbg

}


This is a bit annoying. Apparently due to a bit of mess in the loaded 
config files, or some problem in qtcreator, both debug and release flags 
are set at the same time...

Can anyone confirm this?
I'm not going to look into this right now, since debug is enough for me 
now, but I'll look into it tomorrow.
If anyone finds a solution before me, please say so.

Thanks
Paulo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-creator-old/attachments/20091108/502fa64e/attachment.html 


More information about the Qt-creator-old mailing list