问题描述
- 操作系统: Windows 10
- 软件版本:Qt 5.14.0
- 运行记录:从别的机器拷过来的Qt程序,准备编译运行直接出现如下错误。
14:00:40: 为项目xxx执行步骤 ...
14:00:40: 正在启动 "C:\Qt\Qt5.14.0\5.14.0\mingw73_64\bin\qmake.exe" "F:\xxx.pro" -spec win32-g++ "CONFIG+=debug" "CONFIG+=qml_debug"
Cannot find file: F:\xxx.pro.
14:00:40: 进程"C:\Qt\Qt5.14.0\5.14.0\mingw73_64\bin\qmake.exe"退出,退出代码 2 。
Error while building/deploying project xxx (kit: Desktop Qt 5.14.0 MinGW 64-bit)
When executing step "qmake"
14:00:40: Elapsed time: 00:00.
解决办法
项目的文件目录含中文,需要将中文字符改成英文字符。