简体   繁体   English

qt creator 3.6(从源代码构建)在构建任何qt app项目时无法启动进程qmake

[英]qt creator 3.6 (build from source) cannot start process qmake when build any qt app project

I have built qt creator 3.6 from source (from here ) with no error. 我从源代码(从这里 )构建了qt creator 3.6,没有错误。 Everything is OK except when I create a Qt Application project in the qt creator I built, it cannot qmake my .pro file. 一切都很好,除非我在我建立的qt创建者中创建一个Qt应用程序项目,它不能qmake我的.pro文件。 The error is : 错误是:

Cannot start process "C:\Qt\Qt5.6.0\5.6\msvc2015\bin\qmake.exe" C:\Users\rick\Desktop\Temp\SvTest6\SvTest6.pro -r -spec win32-msvc2015 "CONFIG+=debug" "CONFIG+=qml_debug"
Error while building/deploying project SvTest6 (kit: Desktop Qt 5.6.0 MSVC2015 32bit)
When executing step "qmake"
20:26:29: Elapsed time: 00:00.

If I execute the command: 如果我执行命令:

"C:\Qt\Qt5.6.0\5.6\msvc2015\bin\qmake.exe" C:\Users\rick\Desktop\Temp\SvTest6\SvTest6.pro -r -spec win32-msvc2015 "CONFIG+=debug" "CONFIG+=qml_debug"

in windows cmd.exe, everything is OK. 在windows cmd.exe中,一切正常。

Could you guys give me some hint about this? 你们能给我一些暗示吗?

You have to specify qmake arguments separately: 您必须单独指定qmake参数: 在此输入图像描述

and not inside the "Command" field. 而不是在“命令”字段中。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM