简体   繁体   English

编译Qt Creator

[英]Compiling Qt Creator

I've compiled Qt from the source with options: 我从源代码编译了Qt选项:

-release -no-script -no-webkit

Now I'm trying to compile qtCreator using this build but I'm getting error: 现在我正在尝试使用此构建编译qtCreator但我收到错误:

ld.exe cannot find lQtScript

How can I set Qt Creator configuration to be the same as Qt, that mean with 如何将Qt Creator配置设置为与Qt相同,即

-release -no-script -no-webkit

QtCreator needs QtScript. QtCreator需要QtScript。 You could try doing a make -k (ignoring compilation errors) and hope enough of QtCreator works without QtScript, but I highly doubt it. 您可以尝试使用make -k (忽略编译错误)并希望QtCreator能够在没有QtScript的情况下工作,但我对此非常怀疑。

Yes using QtScript is mandatory to build Qt Creator. 是的,必须使用QtScript来构建Qt Creator。 You must have it in you build of Qt.... This becomes more tricky with the latest version of Qt (5.6) as QtScript is now deprecated and not provided. 你必须在你的Qt版本中拥有它....使用最新版本的Qt(5.6)会变得更加棘手,因为QtScript现已弃用且未提供。 You need to retrieve it separatly and add it to Qt so that you can make the build of Qt Creator. 您需要分别检索它并将其添加到Qt,以便您可以构建Qt Creator。 For myself i had re-used QtScript from Qt 5.5. 对于我自己,我重新使用了Qt 5.5中的QtScript。

Hope that helps. 希望有所帮助。

Regards 问候

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

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