[英]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
脚本。
我的程序:
qt-everywhere-opensource-src-5.5.1.tar.gz
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.
$
我认为这将解决您的问题:
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.