解决:The process "c:/qt/2010.05/qt/bin/qmake.exe" exited with&nbs

来源:互联网 发布:人工智能 西蒙 编辑:程序博客网 时间:2024/06/01 19:37

如过看到了这篇文章,说明以下这个错误你也遇到了:

 

Running build steps for project untitled...

Starting: "c:/qt/2010.05/qt/bin/qmake.exe" C:/Users/Administrator/Desktop/精通Qt编程/test/untitled/untitled.pro -r -spec win32-g++

Cannot find file: c:\Users\Administrator\Desktop\精通Qt编程\test\untitled\untitled.pro.

 

The process "c:/qt/2010.05/qt/bin/qmake.exe" exited with code %2.

Error while building project untitled (target: Desktop)

When executing build step 'qmake'

 

解决方案,检查工程项目设计的绝对路径,不可以有中文的,c:\Users\Administrator\Desktop\精通Qt编程\test\untitled\untitled.pro.我的这个绝对路径里有几个中文字符,所以就会提示错误。把精通Qt编程这个文件夹的四个汉字去掉就可以了。

原创粉丝点击