Problem with new Visual Studio update 2017 Version 15.8.0 and Qt 5.9.5
-
@aha_1980 The change was in qcompilerdetection.h Line: 1349.
Weird thing is that now that I've fixed the linker issue I was experiencing, compiler is Not complaining of the code - I've reverted qcompilerdetection.h back to its original version. Even though, looking at the file in VS the offending lines are still marked red, I guess moc is taking care of it somehow.
-
@langston said in Problem with new Visual Studio update 2017 Version 15.8.0 and Qt 5.9.5:
I am very surprised that the latest version will have such a problem.
Did you compile Qt by yourself? I've no problems with MSVC 2017 + Qt5.12/5.13 so make sure you don't use an older compiler or something similar.
-
@christian-ehrlicher
Hello, first of all, I am very grateful for your reply.
No, I am downloading the qt version from the official.
Here is the download address: http://download.qt.io/official_releases/qt/5.13/5.13.1/
I chose qt-opensource-windows-x86-5.13.1.exe -
And which exact MSVC2017 version do you use? Please update to at least 15.9.8 ( see https://docs.microsoft.com/de-de/visualstudio/releasenotes/vs2017-relnotes )
-
@christian-ehrlicher
thank you for your reply.
I am using MSVC 2017 Enterprise Edition 15.9.16.
And Is this a problem with this version? -
@langston said in Problem with new Visual Studio update 2017 Version 15.8.0 and Qt 5.9.5:
I am using MSVC 2017 Enterprise Edition 15.9.16.
Not, that should be fine - there were some problems with 15.9.0 - 15.9.7 or 8 (iirc) but not with the current one. Are you sure you're not fetching an old compiler? How do you compiler your code? What does "cl /?" on the command line from where you compile says?