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

Nikos Chantziaras realnc at arcor.de
Fri May 13 15:12:36 CEST 2011


On 05/13/2011 04:04 PM, Ed Sutton wrote:
> Thank you Bo.
>
>> Den 13-05-2011 14:19, Ed Sutton skrev:
>>> Does anyone have an example qmake project supporting both 32-bit and 64-bit build targets?
>>>
>>> I am trying to evolve an existing qmake project file to supports both a Release32 and Release64 build configurations.  My targets are 32-bit and  64-bit Linux.  I am using the Qt Creator 2.1.
>>
>> This is usually not how it's done.
>>
>> Place your source directory next to a build32 and build64 directory.
>> qmake have supported srcdir != builddir for many years, and it pretty
>> much solves the problem.
>
> 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



More information about the Qt-interest-old mailing list