编译输出如下:
00:12:16: 为项目untitled执行步骤 ...
00:12:16: 配置没有改变, 跳过 qmake 步骤。
00:12:16: 正在启动 "C:\Qt\Qt5.14.2\Tools\QtCreator\bin\jom.exe"
C:\Qt\Qt5.14.2\Tools\QtCreator\bin\jom.exe -f Makefile.Debug
cl -c -nologo -Zc:wchar_t -FS -Zc:rvalueCast -Zc:inline -Zc:strictStrings -Zc:throwingNew -Zc:referenceBinding -Zc:__cplusplus -Zi -MDd -W3 -w34100 -w34189 -w44996 -w44456 -w44457 -w44458 -wd4577 -wd4467 -EHsc /Fddebug\untitled.vc.pdb -DUNICODE -D_UNICODE -DWIN32 -D_ENABLE_EXTENDED_ALIGNED_STORAGE -DWIN64 -DQT_QML_DEBUG -I..\..\untitled -I. -IC:\Qt\Qt5.14.2\5.14.2\msvc2017_64\mkspecs\win32-msvc -Fodebug\ @C:\Users\...\AppData\Local\Temp\main.obj.17168.0.jom
main.cpp
..\main.cpp(1): fatal error C1083: 无法打开包括文件: “iostream”: No such file or directory
jom: C:\Users\...\Desktop\Projects\Qt\untitled\build-untitled-Desktop_Qt_5_14_2_MSVC2017_64bit-Debug\Makefile.Debug [debug\main.obj] Error 2
jom: C:\Users\...\Desktop\Projects\Qt\untitled\build-untitled-Desktop_Qt_5_14_2_MSVC2017_64bit-Debug\Makefile [debug] Error 2
00:12:17: 进程"C:\Qt\Qt5.14.2\Tools\QtCreator\bin\jom.exe"退出,退出代码 2 。
Error while building/deploying project untitled (kit: Desktop Qt 5.14.2 MSVC2017 64bit)
The kit Desktop Qt 5.14.2 MSVC2017 64bit has configuration issues which might be the root cause for this problem.
When executing step "Make"
00:12:17: Elapsed time: 00:01.