[Development] Automatic detection of Visual Studio Compiler

Welsch, Christoph christoph.welsch at etm.at
Wed Apr 26 10:01:06 CEST 2017


Hi,

I've noticed that in QT 5.9 beta 2 the mkspecs for Visual Studio have changed to some kind of automatic detection. If I use win32-msvc, it seems that the studio version is not correctly detected and the configure script fails.

2017-04-25 15:47:56: Info: creating super cache file D:\QtBuild\Qt-Win64\build\.qmake.super
Project ERROR: msvc-version.conf loaded but QMAKE_MSC_VER isn't set


If I set the variables
  MSC_VER            = 1900
MSVC_VER           = 14.0
In the win32-msvc/qmake.conf manually, it works.


My Configure call:

D:/QtBuild/src/qt-everywhere-opensource-src-5.9.0-beta/configure.bat -commercial -confirm-license -prefix D:/QtBuild/Qt-Win64/installdir/ -openssl -force-debug-info -nomake examples -nomake tests -release -skip qtwebengine -icu -qt-zlib -opengl dynamic -I D:/QtBuild/Qt-Win64/Qt5-WinDeps-64bit/openssl-win64\include -L D:/QtBuild/Qt-Win64/Qt5-WinDeps-64bit/openssl-win64\lib -I D:/QtBuild/Qt-Win64/Qt5-WinDeps-64bit/windeps/icu4c/icu/include\ -L D:/QtBuild/Qt-Win64/Qt5-WinDeps-64bit/windeps/icu4c/icu/lib64\

Is there anything else to it that I might be missing?


Best Regrads,
Chris
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/development/attachments/20170426/22308793/attachment.html>


More information about the Development mailing list