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

    • 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

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

          Activity

            People

              mecfc Miguel Costa
              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