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?
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.
Open msvc-version.conf
(in my case in C:\Qt\Qt5.12.8\5.12.8\msvc2017_64\mkspecs\common
)
add
QMAKE_MSC_VER = 1929
at the beginning (for VS2019).
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With