Qt编译报错:The kit Desktop Qt has configuration issues which might be the root cause for this problem.

Qt在编译时报错

Cannot find file: F:\TESTCODE\Qt\控件\battery\battery.pro.
15:10:03: 进程"D:\Qt\Qt5.13.0\5.13.0\msvc2017\bin\qmake.exe"退出,退出代码 2 。
Error while building/deploying project battery (kit: Desktop Qt 5.13.0 MSVC2017 32bit)
The kit Desktop Qt 5.13.0 MSVC2017 32bit has configuration issues which might be the root cause for this problem.
When executing step “qmake”

原因与解决方法

因为在工程路径下有中文,修改一下工程路径即可。

你可能感兴趣的:(QT)