PDA

View Full Version : Coexistence of 32- and 64-bit Qt for Windows



brcain
10th January 2012, 16:22
Hello,

I'm trying to determine the proper way for 32- and 64-bit versions of Qt to exist side-by-side for a Windows installation. I'd prefer the user to not have to change environment variables to reference the different versions (e.g. 32-bit DLLs in one path, 64-bit DLLs in another).

What I've done in the past is have unique names for 32- and 64-bit libraries ... just like you have unique names for debug and release libraries ... such as:

foo.lib, foo.dll (32-bit release)
foo_x64.lib, foo_x64.dll (64-bit release)
food.lib, food.dll (32-bit debug)
foo_x64d.lib, foo_x64d.dll (64-bit release)

When building Qt, is there a way to uniquely name the generated 32- and 64-bit libraries (e.g. like it does for the debug and release)?

Thanks,
Ben

wysota
11th January 2012, 15:55
Yes. Take a look at the -qtlibinfix (or similar) switch you can pass to configure.