[Qt-creator] [Qt-interest] Creating build configurations in .pro file
Qt Quest
qt.quest at yahoo.com
Fri Mar 12 00:56:18 CET 2010
Thanks, resubmitting.
Any help will be appreciated!
--- On Thu, 3/11/10, Malyushytsky, Alex <alex at wai.com> wrote:
From: Malyushytsky, Alex <alex at wai.com>
Subject: Re: [Qt-interest] Creating build configurations in .pro file
To: "qt-interest at trolltech.com" <qt-interest at trolltech.com>
Date: Thursday, March 11, 2010, 11:17 PM
http://lists.trolltech.com/mailman/listinfo/qt-creator
From: qt-interest-bounces at trolltech.com [mailto:qt-interest-bounces at trolltech.com]
On Behalf Of Qt Quest
Sent: Wednesday, March 10, 2010 11:15 PM
To: qt-interest at trolltech.com; André Somers
Subject: Re: [Qt-interest] Creating build configurations in .pro file
Resubmitting...
--- On Tue, 3/9/10, Qt Quest <qt.quest at yahoo.com> wrote:
From: Qt Quest <qt.quest at yahoo.com>
Subject: Re: [Qt-interest] Creating build configurations in .pro file
To: qt-interest at trolltech.com, "André Somers" <andre at familiesomers.nl>
Date: Tuesday, March 9, 2010, 9:29 PM
Hi André,
Thank you for your reply. I've added the text below. Can those build configurations be available in Qt creator, so that I can choose compile a "demo"?
Thanks again!
demo {
DEFINES += PRODUCT_DEMO
}
standard {
DEFINES += PRODUCT_STD
}
--- On Tue, 3/9/10, André Somers <andre at familiesomers.nl> wrote:
From: André Somers <andre at familiesomers.nl>
Subject: Re: [Qt-interest] Creating build configurations in .pro file
To: qt-interest at trolltech.com
Date: Tuesday, March 9, 2010, 9:20 PM
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!
-----Inline Attachment Follows-----
_______________________________________________
Qt-interest mailing list
Qt-interest at trolltech.com
http://lists.trolltech.com/mailman/listinfo/qt-interest
---------------------------------------------------------------------------------------------------
Weidlinger Associates, Inc. made the following annotations.
“This message and any attachments are solely for the intended recipient and may contain confidential or privileged information. If you are not the intended recipient, any disclosure, copying, use, or distribution of
the information included in this message and any attachments is prohibited. If you have received this communication in error, please notify us by reply e-mail and immediately and permanently delete this message and any attachments. Thank you.”
“Please consider our environment before printing this email.”
-----Inline Attachment Follows-----
_______________________________________________
Qt-interest mailing list
Qt-interest at trolltech.com
http://lists.trolltech.com/mailman/listinfo/qt-interest
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-creator-old/attachments/20100311/1c5c43e8/attachment.html
More information about the Qt-creator-old
mailing list