Qt Creator新安装后运行一个程序后,出现错误:Error while building/deploying project dict-qt (kit: Desktop Qt 5.10.0 MinGW 32bit) When executing step "qmake"

1、环境介绍:在windows10 Pro下,当前Qt Creator版本,如下图所示:

Qt Creator新安装后运行一个程序后,出现错误:Error while building/deploying project dict-qt (kit: Desktop Qt 5.10.0 MinGW 32bit) When executing step "qmake"

2、问题描述:当用Qt Creator新建一个工程后,按Ctrl + R 构建/部署时,出现问题,问题截图如下:

Qt Creator新安装后运行一个程序后,出现错误:Error while building/deploying project dict-qt (kit: Desktop Qt 5.10.0 MinGW 32bit) When executing step "qmake"

3、解决方案:这是由于Qt Creator打开的工程文件夹的绝对路径中存在中文字符,只需将工程文件夹复制到英文文件目录下打开,即可编译运行成功!

或者关闭Qt Creator后,将中文路径改为英文路径再打开Qt Creator,也可编译运行成功!

4、小结:Qt Creator的工程文件夹的绝对路径中不能存在中文字符!!!

我的GitHub地址:https://github.com/hei*gjun
我的博客园地址:http://www.cnblogs.com/chenmingjun
我的蚂蚁笔记博客地址:http://blog.leanote.com/chenmingjun
Copyright ©2018 黑泽明军
【转载文章务必保留出处和署名,谢谢!】
上一篇:Bookstrap 全局 css 样式-代码|学习笔记


下一篇:CAAI演讲实录|微软邓力:驱动大数据人工智能多种应用的三类深度学习模式