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

Paul Miller paul at fxtech.com
Tue Nov 17 18:19:36 CET 2009


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?

Here is what I found to work. I had a 64 bit Windows OS and VS2008 
installed on a VM - so I built Qt there and then copied the .libs and 
.dlls over to my 32 bit machine and can then link against them using my 
x64 target. Then I can copy the resulting binaries over to the VM where 
they seem to work fine.

-- 
Paul Miller | paul at fxtech.com | www.fxtech.com | Got Tivo?




More information about the Qt-interest-old mailing list