Details
-
Bug
-
Resolution: Invalid
-
P2: Important
-
None
-
2.9.1
-
None
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
- duplicates
-
QTVSADDINBUG-1014 Missing QtVersionMajor macro (2.9.1.1 .. in Create Issue the 2.9.1.1 is not defined)
- Closed