[Qt-interest] How to configuring my project file for different builds
David Boosalis
david.boosalis at gmail.com
Sat Jul 3 08:07:56 CEST 2010
I think the easiest way would be to have a project file for each build.
This way you can have specify different .obj and .moc directories as well as
different executable names for each build. Then they do not step on one
another.
On Fri, Jul 2, 2010 at 3:30 AM, Santhosh Y <santhosh at softjin.com> wrote:
> 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.
> ___________________________________________________________
>
>
> _______________________________________________
> 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-interest-old/attachments/20100702/63a75ed1/attachment.html
More information about the Qt-interest-old
mailing list