繁体   English   中英

无法在Amazon Centos上编译QT 5.5.1:项目错误:QT中的未知模块:快速

[英]Can't compile QT 5.5.1 on Amazon Centos: Project ERROR: Unknown module(s) in QT: quick

我正在尝试在Amazon AMI 2015.09上编译QT 5.5.1,看起来很像Centos 6.5。

我不断收到此错误:

Project ERROR: Unknown module(s) in QT: quick

但是,我找不到quick模块,也没有明显的方法使它无法查看./configure脚本。

我的程序:

  1. 我下载了qt-everywhere-opensource-src-5.5.1.tar.gz
  2. 我打开了包装。
  3. 我跑了./configure
  4. 确认我需要开源许可证,并同意LGPL。
  5. 跑了gmake -j4 (但是我得到了与gmake相同的行为。

有趣的是, make distclean给我这个错误:

Project ERROR: Unknown module(s) in QT: quick-private

这是发送给STDERR的所有错误:

Checking for openal... Checking for bluez... no
Checking for bluez_le... no
Checking for btapi10_2_1... no
/home/ec2-user/qt-everywhere-opensource-src-5.5.1/qtmultimedia/qtmultimedia.pro:28: Variable GST_VERSION is not defined.
Checking for resourcepolicy... no
Checking for gpu_vivante... no
Checking for libbb2... no
no
Project MESSAGE: Unsupported Bluetooth platform, will not build a working QtBluetooth library.
Project MESSAGE: Either no Qt D-Bus found or no BlueZ headers.
qbluetoothdevicediscoveryagent_p.h:0: Note: No relevant classes found. No output generated.
qbluetoothservicediscoveryagent_p.h:0: Note: No relevant classes found. No output generated.
qbluetoothserver_p.h:0: Note: No relevant classes found. No output generated.
qbluetoothlocaldevice_p.h:0: Note: No relevant classes found. No output generated.
Checking for assimp... no
Project ERROR: Unknown module(s) in QT: quick
gmake[4]: *** [sub-textureandlight-make_first] Error 3
gmake[3]: *** [sub-canvas3d-make_first] Error 2
gmake[2]: *** [sub-canvas3d-make_first] Error 2
gmake[1]: *** [sub-examples-make_first] Error 2
gmake: *** [module-qtcanvas3d-make_first] Error 2
gmake: *** Waiting for unfinished jobs....

在另一个发布者的建议下,我尝试了./configure -skip qtquick但这没有用:

$ ./configure -skip qtquick
+ cd qtbase
+ /home/ec2-user/qt-everywhere-opensource-src-5.5.1/qtbase/configure -top-level -skip qtquick
Attempting to skip non-existent module qtquick.
$ 

我认为这将解决您的问题:

  1. 您已经使用`make confclean '来代替distclean来删除先前的配置。
  2. 以详细模式配置-将提供更多信息,对不起,我不记得确切的标志,如果我没记错的话,它是-v
  3. 如果不需要快速,请添加- 跳过qtquick进入配置。

暂无
暂无

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

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