[Qt-interest] How to configuring my project file for different builds

Santhosh Y santhosh at softjin.com
Fri Jul 2 12:30:38 CEST 2010


Hi

In my project file, for configuring debug and release options , I can 
write following which is working correctly.

CONFIG(debug, debug|release) {
     TARGET   = DebugBuild
}

CONFIG(release, debug|release) {
     TARGET   = ReleaseBuild
}


Similarly I want to configure my options for COMSERVER and NORMALEXE as 
below. How to achieve this?

=============================================
CONFIG (COMSERVER, COMSERVER|NORMALEXE) {
     CONFIG += qt qaxserver
     DEFINES += COMSERVERAPPLICATION
     RC_FILE  += newguiserver.rc
}

CONFIG (NORMALEXE, COMSERVER|NORMALEXE) {
     CONFIG += qt
     DEFINES += NORMALEXEAPPLICATION
}
=============================================

Please give me some idea how to have two different configurations for 
the above 2-type of different builts. How to Pass COMSERVER / NORMALEXE 
? also

Please suggest me any ideas

Santhosh

-- 
----------------------------------------------------
Y Santhosh Kumar -
Senior Software Engineer,
SoftJin Technologies Pvt Ltd,
www.softjin.com
----------------------------------------------------



Business Disclaimer
____________________________________________________________
This e-mail message and any files transmitted with it are intended solely
for  the use  of the  individual or entity  to which they  are  addressed. It
may  contain confidential,  proprietary or legally  privileged  information.
If  you  are  not  the  intended recipient please be advised that you have
received  this  message in error and any use is strictly prohibited. Please
immediately  delete it  and all copies of it from your system, destroy any
hard  copies  of  it and  notify  the  sender  by return mail. You must not,
directly or indirectly, use,  disclose,  distribute, print, or copy any part of
this message if you are not the intended recipient.
___________________________________________________________





More information about the Qt-interest-old mailing list