Qt Creator 4.3.1 未检测到 MSVC 2015 编译器

Qt Creator 4.3.1 not detecting MSVC 2015 compiler

未检测到 Qt Creator 中的编译器(我想使用 MSVC 2015,因为这是构建此版本 Qt Creator 的基础)。

我已经 Visual Studio Professional 2015 with Update 3 在 Window 7 box 上安装了很长一段时间。

我从下载-开源路径安装了 Qt Creator...在帮助菜单中显示 "Based on Qt 5.9.1 (MSVC 2015, 32 bit)"。

我安装了 "Microsoft Visual C++ 2015 Redistributable (x86) - 14.0.24215" 和其他几个。

我错过了什么?

我想我找到了解决办法...

在Visual Studio...新建项目...Visual C++...安装C++...

这将安装编译器。

这成功了!

您不能手动将 MSVC 添加到 Qt Creator。如果您想使用它,请确保安装了正确的 Visual Studio 版本。

如果 MSVC 编译器没有出现在“编译器”选项卡中,我应该重新安装 Visual Studio。