报错内容:
Error: dependent ‘…\Qt\5.15.2\msvc2019\include\QtWidgets\QWidget’ does not exist.
jom: D:\qt_demo\ch2_13_ListWidget\build\Desktop_Qt_5_15_2_MSVC2019_32bit-Debug\Makefile [debug] Error 2
10:33:16: 进程"D:\Qt\Tools\QtCreator\bin\jom\jom.exe"退出,退出代码 2 。
Error while building/deploying project ch2_13_ListWidget (kit: Desktop Qt 5.15.2 MSVC2019 32bit)
When executing step “Make”
解决办法:
工具->外部->配置
然后:
QT在线快速下载安装提示
使用镜像在线安装,在PowerShell中,cd到qt-unified-windows-x64-xxx-online.exe目录下,输入命令.\qt-unified-windows-x64-xxx-online.exe --mirror https://mirrors.ustc.edu.cn/qtproject