[Qt-interest] Seeking example qmake project file supporting both 32 and 64-bit targets?
Ed Sutton
ESutton at fescorp.com
Fri May 13 14:39:17 CEST 2011
On May 13, 2011, at 7:19 AM, Ed Sutton wrote:
>> 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.
I just realized this is not done in the project file but in the call to qmake.
export QTDIR=/home/esutton/QtSDK/Desktop/Qt/473/gcc/bin
$QTDIR/qmake *.pro -r -spec linux-g++-64
make clean
make
$QTDIR/qmake *.pro -r -spec linux-g++-32
make clean
make
I just need to figure out how to conditionally name the output executable myapp32 or myapp64 or place the build output in the desired linux32 or linux64 folder.
I apologize for the added mailing list noise.
-Ed
More information about the Qt-interest-old
mailing list