[Qt-creator] qmake debug release conditional builds

paulo paulo.jnkml at gmail.com
Mon Nov 9 21:56:59 CET 2009


Hi,

I would like some help on this issue.


Apparently using the debug directly wont work, but when I use:


CONFIG(debug, debug|release) {

CONFIG(release, debug|release) {

warning("release set with debug! Ignoring release.")

}

warning("Building debug.")

} else {

warning("Building release.")

}

it wont matter if I'm building for release or, because I'll get always:

Project WARNING: Building release.


So, what's the right way to do this?


Thanks
Paulo

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-creator-old/attachments/20091109/84a64c6f/attachment.html 


More information about the Qt-creator-old mailing list