Thanks, resubmitting.
Any help will be appreciated!

--- On Thu, 3/11/10, Malyushytsky, Alex <[email protected]> wrote:

From: Malyushytsky, Alex <[email protected]>
Subject: Re: [Qt-interest] Creating build configurations in .pro file
To: "[email protected]" <[email protected]>
Date: Thursday, March 11, 2010, 11:17 PM


 
 




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

From: [email protected] 
[mailto:[email protected]]
On Behalf Of Qt Quest

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

To: [email protected]; André Somers

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

   




Resubmitting...



--- On Tue, 3/9/10, Qt Quest <[email protected]> wrote: 


From: Qt Quest <[email protected]>

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

To: [email protected], "André Somers" <[email protected]>

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 <[email protected]> wrote: 


From: André Somers <[email protected]>

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

To: [email protected]

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: [email protected] 
[mailto:[email protected]]
Namens Qt Quest

Verzonden: dinsdag 9 maart 2010 21:50

Aan: [email protected]

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

[email protected]

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
[email protected]
http://lists.trolltech.com/mailman/listinfo/qt-interest



      
_______________________________________________
Qt-creator mailing list
[email protected]
http://lists.trolltech.com/mailman/listinfo/qt-creator

Reply via email to