Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-31783

Can’t generate 64bit VS 2012 project files with Qt 5 binary package

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • P2: Important
    • None
    • 5.1.0 Beta 1
    • Packaging & Installer
    • 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).

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            releaseteam Qt Release Team
            qtcomsupport Qt Support
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes