Details
-
Bug
-
Resolution: Invalid
-
P2: Important
-
None
-
5.1.0 Beta 1
-
None
-
Windows 7, VS2012
Description
With the 64bit qt 5.1 binary installer (qt-windows-commercial-5.1.0-beta1-msvc2012_opengl-x86_64-offline.exe) you will get 32bit project file. Steps to reproduce:
- Install Qt 5.1.0 beta
- open ‘Qt 5.1.0 64-bit for Desktop (MSVC 2012)’ command prompt and run the corresponding vcvarsall.bat
- go to some example directory (like, examples\widgets\mainwindows\menus) and run ‘qmake –tp vc’ there to create the project file
- open the created .vcproj file via the explorer
-> the project file is created for Win32 and thus there will be error ‘module machine type ‘x64’ conflicts with target machine type: ‘x86’’
The same issue was there with older Qt 5 64bit VS2012 installers too. If you compile 64bit version of Qt yourself then the project file is correctly created and the ProjectConfiguration is correctly detected (Win64).