Uploaded image for project: 'Qt Visual Studio Tools'
  1. Qt Visual Studio Tools
  2. QTVSADDINBUG-472

[REG 5.8->5.9]: When opening a pro file with a Qt 5.9 version it will not be able to create the vcxproj file

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P1: Critical
    • Resolution: Done
    • Affects Version/s: 2.1.1
    • Fix Version/s: 2.1.2
    • Component/s: General
    • Environment:
      Windows 8.1 - MSVC 2015
    • Commits:
      ac3c444443e1828796abe8654405490159f62afc

      Description

      [REG 5.8->5.9]: When opening a pro file with a Qt 5.9 version it will not be able to create the vcxproj file. This happens with any version of MSVC and any Qt 5.9.x version because it will output:

      [1] - C:/QT/5.9/MSVC2015_64/mkspecs/features/toolchain.prf:129: Variable QMAKE_CXX.COMPILER_MACROS is not defined. 
      [2] - Project ERROR: msvc-version.conf loaded but QMAKE_MSC_VER isn't set 
      

      This is due to recent changes in qmake, specifically toolchain.prf which now depends on being able to detect the compiler on the system. Something which doesn't seem to succeed inside the VS IDE.

        Attachments

          Issue Links

          For Gerrit Dashboard: QTVSADDINBUG-472
          # Subject Branch Project Status CR V

            Activity

              People

              • Assignee:
                mecfc Miguel Costa
                Reporter:
                andysh Andy Shaw
              • Votes:
                1 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes