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

博客指出Qt编译时出现报错,提示找不到文件,进程退出代码为2,构建项目失败,原因是工程路径下有中文。解决方法是修改工程路径,避免使用中文。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

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”

原因与解决方法

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

评论 2
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值