Details
-
Bug
-
Resolution: Duplicate
-
Not Evaluated
-
None
-
Qt Creator 2.5.0-beta
-
None
-
Windows 7 x64, Windows SDK 7.1
Description
When using prebuild Qt 4.8 for VS 2010 and Widnows SDK compilers, TARGET_CPU environment variable is set to x64 even when the tool chain is "Microsoft Windows SDK for Windows 7 (7.1.7600.30514) (x86)". The Qt library is 32-bit but the compiled object files are in x64. This caused the following linker error:
QtGuid4.lib(QtGuid4.dll):-1: error: LNK1112: module machine type 'X86' conflicts with target machine type 'x64'
The same setup works in Creator 2.4.1.