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

Upgrading to QT VS TOOLS 2.9.1 makes projects impossible to compile

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • P2: Important
    • None
    • 2.9.1
    • Build-time integration
    • None
    • Windows

    Description

      Upgrading to VS TOOLS 2.9.1 from 2.8.1.6 makes it impossible to compile projects developed with Qt 5.15.1

      If you try to compile after the upgrade you got the error:

      C:\Users\Bar\AppData\Local\QtMsBuild\qt_globals.targets(786,7): error MSB4184: The expression "[System.IO.File]::ReadAllText(C:\Users\Bar\AppData\Local\QtMsBuild\qt.natvis.xml)" cannot be evaluated. Could not find file 'C:\Users\Bar\AppData\Local\QtMsBuild\qt.natvis.xml'.

       

      As suggested by another thread I updated to the last Qt project file but this create the following issues:

      • The version of C++ was automatically updated to C++17 but I cannot use this version
      • Some specialized class from boost::geometry didn't compile any more due to change to many settings on C++ language options

      The only solution was to install the previous version and disable automatic update

      Attachments

        Issue Links

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

          Activity

            People

              ali.demiralp Ali Can Demiralp
              marco.beninca71 Marco Beninca
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes