QMAKE_MSC_VER isn't set

Mounty picture Mounty · Dec 7, 2018 · Viewed 10.7k times · Source

After I changed my Qt Version from 5.5.1 to 5.12.0 I get following message while I try to build any project:

msvc-version.conf loaded but QMAKE_MSC_VER isn't set

I selected the Qt 5.12.0 MSVC2017 32bit Kit instead of the Qt 5.5.1 (msvc 2013) Kit.

Does anybody know the reason for this message and could explain me how I should fix it?

Answer

pdx_interactives picture pdx_interactives · Jan 23, 2019

Try removing any .qmake.stash files in your projects. This fixed this same issue for me when building QT from source after previously building with a different target.