Qt msvc2015 32 bit binaries with msvc 2017 32 bit compiler

I need to compile my code with msvc 2017 32 bit compiler. There no pre built binaries of Qt for that compiler. However there are binary compatibility between msvc 2015 and 2017. So I have installed Qt msvc 2015 32 bit binaries. Qt Creator gives me the following warning while I trying to adjust Kits:

The compiler "Microsoft Visual C++ Compiler 15.0 (x86)" (x86-windows-msvc2017-pe-32-bit) may not produce code compatible with the Qt version "Qt 5.9.2 MSVC2015 32 bit"(x86-windows-msvc2015-pe-32bit)

When building:

Running Windows Runtime device detection. No winrtrunner.exe found. Project ERROR: Cannot run compiler 'cl'. Maybe you forgot to setup the environment? Error while parsing file ...project.pro. Giving up.

Everything works fine if I use Qt msvc2017 64bit binaries with msvc2017 64bit compiler

链接地址: http://www.djcxy.com/p/68624.html

上一篇: SQL Server动态列问题

下一篇: Qt msvc2015使用msvc 2017 32位编译器的32位二进制文​​件