mirror of
https://github.com/thead-yocto-mirror/meta-qt5
synced 2026-06-21 08:52:35 +02:00
python-pyqt5: disable whole PyQt_OpenGL and QtWidgets, QtQuickWidgets, QtQuick modules without opengl in DISTRO_FEATURES
* fixes: sip: QOpenGLFramebufferObject is undefined in default nodistro setup without opengl in DISTRO_FEATURES Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
This commit is contained in:
@@ -24,11 +24,11 @@ export STAGING_LIBDIR
|
||||
|
||||
PARALLEL_MAKEINST = ""
|
||||
|
||||
DISABLED_FEATURES = "PyQt_Desktop_OpenGL PyQt_Accessibility PyQt_SessionManager"
|
||||
DISABLED_FEATURES = "PyQt_Desktop_OpenGL PyQt_Accessibility PyQt_SessionManager ${@bb.utils.contains('DISTRO_FEATURES', 'opengl', '', 'PyQt_OpenGL', d)}"
|
||||
|
||||
DISABLED_FEATURES_append_arm = " PyQt_qreal_double"
|
||||
|
||||
PYQT_MODULES = "QtCore QtGui QtNetwork QtWidgets QtXml QtNetwork QtQml QtQuick QtQuickWidgets"
|
||||
PYQT_MODULES = "QtCore QtGui QtNetwork QtXml QtNetwork QtQml ${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'QtQuick QtWidgets QtQuickWidgets', '', d)}"
|
||||
|
||||
do_configure_prepend() {
|
||||
cd ${S}
|
||||
|
||||
@@ -10,5 +10,3 @@ python() {
|
||||
DEPENDS += "sip sip-native python"
|
||||
|
||||
RDEPENDS_${PN} += "python-core python-sip"
|
||||
|
||||
PNBLACKLIST[python-pyqt5] = "Sip fails in do_configure sip: QOpenGLFramebufferObject is undefined"
|
||||
|
||||
Reference in New Issue
Block a user