[Development] Automatic detection of Visual Studio Compiler

Thiago Macieira thiago.macieira at intel.com
Wed Apr 26 14:37:32 CEST 2017

On Wednesday, 26 April 2017 06:23:44 -03 Joerg Bornemann wrote:
> On 26/04/2017 10:01, Welsch, Christoph wrote:
> > Project ERROR: msvc-version.conf loaded but QMAKE_MSC_VER isn't set

> > 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.
> As far as I can tell your configure line looks OK. Please create a bug
> report for this at https://bugreports.qt.io/ to track this.
> Please include a description of how you've set up your build
> environment, exact VS version etc.

Before you do, please NUKE your build dir and make sure your source dir is 
squeaky clean (delete and unpack again).

Another person reported the same error and this solved the configure step for 
them. When I had that issue, it was a matter of cleaning up.

Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center

More information about the Development mailing list