首页 > 代码库 > Qt creator 编译错误 :cannot find file .pro qt
Qt creator 编译错误 :cannot find file .pro qt
事实上问题的解决的方法非常easy:就是Qt不支持中文的路径,把源代码的路径所有改成英文就可以解决这个问题。
首先问题发生在我执行网上的样例程序时,又一次构建编译也是出错。提示:
Cannot find file: F:\Pro\Qt\QT5开发及实例\本书源程序\CH1\CH101\Dialog\Dialog.pro.
21:55:03: 进程"D:\Qt\Qt5.5.0\5.5\msvc2013_64\bin\qmake.exe"退出。退出代码 2 。
Error while building/deploying project Dialog (kit: Desktop Qt 5.5.0 MSVC2013 64bit)
When executing step "qmake"
QT Creator对大于带有两个空格的文件夹和中文命名的文件夹不支持!!
究其原因 应该是qmake对带有空格的文件夹和中文命名的文件夹不支持!。
Qt creator 编译错误 :cannot find file .pro qt
声明:以上内容来自用户投稿及互联网公开渠道收集整理发布,本网站不拥有所有权,未作人工编辑处理,也不承担相关法律责任,若内容有误或涉及侵权可进行投诉: 投诉/举报 工作人员会在5个工作日内联系你,一经查实,本站将立刻删除涉嫌侵权内容。