我正在尝试在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
的行为与<{1}}相同。有趣的是,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.
$
答案 0 :(得分:1)
我认为这将解决您的问题: