[Qt-interest] Creating build configurations in .pro file
André Somers
andre at familiesomers.nl
Tue Mar 9 22:20:48 CET 2010
Yes, that is possible. Create multiple sections using functions like
contains(). You can even set the DEFINES from within those pro file
sections, and use a configuration script or a qmake call to configure your
project for the different configurations.
André
Van: qt-interest-bounces at trolltech.com
[mailto:qt-interest-bounces at trolltech.com] Namens Qt Quest
Verzonden: dinsdag 9 maart 2010 21:50
Aan: Qt-interest at trolltech.com
Onderwerp: [Qt-interest] Creating build configurations in .pro file
Hi all,
Is there a way to create different build configurations in a .pro file? For
example: adding 3 configurations: demo, standard, and professional. For each
I want to just modify the DEFINES macro in the .pro file. Is it possible?
Currently I have the Debug|Release options, which are relevant only for
development...
I know there is a way to do it in Qt creator but it only modifies the
.pro.user file, which if I understand correctly, are local configuration for
this developer, but not for another, so that .pro.user are not part of the
main source tree.
Thank you!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20100309/8760727c/attachment.html
More information about the Qt-interest-old
mailing list