Details
-
Bug
-
Resolution: Done
-
Not Evaluated
-
None
-
5.8.0
-
None
-
Visual Studio 2017 Windows 10 64bit
Description
I am trying to compile Qt5.8 from source on Windows 10 x64. This is what I pass to configure.bat:
call configure.bat -static -static-runtime -debug-and-release -mp ^ -platform win32-msvc2017 ^ -opensource -nomake examples -nomake tests ^ -opengl desktop -prefix %_TMPOUTPATH%
It fails to compile with the following point:
Microsoft (R) Incremental Linker Version 14.10.25017.0 Copyright (C) Microsoft Corporation. All rights reserved. Info: creating stash file C:\Users\The_GTA\Desktop\magictxd\vendor\Qt5.8\qt5\.qmake.stash Info: creating super cache file C:\Users\The_GTA\Desktop\magictxd\vendor\Qt5.8\qt5\.qmake.super Project ERROR: msvc-version.conf loaded but QMAKE_MSC_VER isn't set Microsoft (R) Program Maintenance Utility, Version 14.10.25017.0 Copyright (C) Microsoft Corporation. Alle Rechte vorbehalten.
Inspecting the "qtbase\configure.bat" file shows that it sets "QMAKESPEC" but does not set "QMAKE_MSC_VER" which is required for building on Windows. The build system has undeniably changed from Qt5.7 to Qt5.8.
I tried setting it as environment variable but it succeeded on x86 while it failed on x64 building. This Intel guy Thiago Macieira here says it is not a good idea:
https://mid.mail-archive.com/interest@qt-project.org/msg24694.html
Attachments
Issue Links
- relates to
-
QTBUG-62368 "Project ERROR: msvc-version.conf loaded but QMAKE_MSC_VER isn't set" when building Qt with x86 MSVC2015
- Closed