[Qt-interest] Seeking example qmake project file supporting both 32 and 64-bit targets?

Ed Sutton ESutton at fescorp.com
Fri May 13 18:36:58 CEST 2011


>> 1 - How is output conditionally sent to either /build32 or /build64 destination folders?
> 
> By being in that directory:
> 
>   $ pwd
>   /home/me/myapp
> 
>   $ cd ..
>   $ mkdir build32
>   $ cd build32
>   $ qmake ../myapp/myapp.pro
>   $ make

Simple enough.  Thank you Bo!


2 - Any tips on how conditionals are typically done in the qt project file?  For example, to conditionally compiler flags flags or to link with either "lib-3rd-party32" or "lib-3rd-party64" based on "linux-g++-32" or "linux-g++-64"?

Thanks!

-Ed





More information about the Qt-interest-old mailing list