Thanks, resubmitting.
Any help will be appreciated!

--- On Thu, 3/11/10, Malyushytsky, Alex <a...@wai.com> wrote:

From: Malyushytsky, Alex <a...@wai.com>
Subject: Re: [Qt-interest] Creating build configurations in .pro file
To: "qt-inter...@trolltech.com" <qt-inter...@trolltech.com>
Date: Thursday, March 11, 2010, 11:17 PM


 
 




http://lists.trolltech.com/mailman/listinfo/qt-creator 
   
   

From: qt-interest-boun...@trolltech.com 
[mailto:qt-interest-boun...@trolltech.com]
On Behalf Of Qt Quest

Sent: Wednesday, March 10, 2010 11:15 PM

To: qt-inter...@trolltech.com; André Somers

Subject: Re: [Qt-interest] Creating build configurations in .pro file 

   




Resubmitting...



--- On Tue, 3/9/10, Qt Quest <qt.qu...@yahoo.com> wrote: 


From: Qt Quest <qt.qu...@yahoo.com>

Subject: Re: [Qt-interest] Creating build configurations in .pro file

To: qt-inter...@trolltech.com, "André Somers" <an...@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 <an...@familiesomers.nl> wrote: 


From: André Somers <an...@familiesomers.nl>

Subject: Re: [Qt-interest] Creating build configurations in .pro file

To: qt-inter...@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-boun...@trolltech.com 
[mailto:qt-interest-boun...@trolltech.com]
Namens Qt Quest

Verzonden: dinsdag 9 maart 2010 21:50

Aan: qt-inter...@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-inter...@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-inter...@trolltech.com
http://lists.trolltech.com/mailman/listinfo/qt-interest



      
_______________________________________________
Qt-creator mailing list
Qt-creator@trolltech.com
http://lists.trolltech.com/mailman/listinfo/qt-creator

Reply via email to