[Qt-interest] building both 32 and 64 bit Windows Qt app on a 32 bit machine with Visual Studio?

Gordon Schumacher gordon at rebit.com
Sun Nov 22 17:00:38 CET 2009


John McClurkin wrote:
>> Paul Miller wrote:
>>     
>>> Is it possible, using Visual Studio, to build both a 32 and 64 bit 
>>> version of the app, using VS's configuration modes? I know how to 
>>> build 32 and 64 bit versions of Qt from the command line, into 
>>> separate directories. But is it possible to configure one 
>>> configuration setting to link against the 32 bit one and the other to 
>>> link against the 64 bit one using the Visual Studio Add-in?
>>>       
> You can create two solutions, one for 32 bit and one for 64 bit, using 
> VS's configuration modes with a bit of diligence. However, the Visual 
> Studio Add-in looks at the %PATH% environment variable, making it 
> tedious to maintain two solutions.
>   

You can also generate two *projects*, one for each bitness, and build
them within a single solution...



More information about the Qt-interest-old mailing list