summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Tretter <m.tretter@pengutronix.de>2017-05-05 19:00:31 +0200
committerMichael Olbrich <m.olbrich@pengutronix.de>2017-05-08 10:02:25 +0200
commitd671ce326a67a0548dc629002c7a5257f4ce4ebb (patch)
tree9388d01f7afef22b79decebfcff5ec6ae3c3caea
parent5cdd698700ddc260d4a23a67376cfbf8b82581c5 (diff)
downloadptxdist-d671ce326a67a0548dc629002c7a5257f4ce4ebb.tar.gz
ptxdist-d671ce326a67a0548dc629002c7a5257f4ce4ebb.tar.xz
qt5: install missing xcbglintegrations plugin
The xcbglintegrations plugins are required to run OpenGL/OpenGL ES2 applications via xcb. Although they were built, they were not installed into the packages. Install the plugins depending on the configured QT5 OpenGL API. Signed-off-by: Michael Tretter <m.tretter@pengutronix.de> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
-rw-r--r--rules/qt5.make7
1 files changed, 7 insertions, 0 deletions
diff --git a/rules/qt5.make b/rules/qt5.make
index 9461f957d..a9b4cad43 100644
--- a/rules/qt5.make
+++ b/rules/qt5.make
@@ -319,6 +319,13 @@ ifdef PTXCONF_QT5_MODULE_QTBASE_GUI
QT5_PLUGINS-$(PTXCONF_QT5_DBUS) += platforminputcontexts/libibusplatforminputcontextplugin
endif
QT5_PLUGINS-$(PTXCONF_QT5_PLATFORM_XCB) += platforms/libqxcb
+ifdef PTXCONF_QT5_OPENGL
+QT5_PLUGINS-$(PTXCONF_QT5_PLATFORM_XCB) += xcbglintegrations/libqxcb-egl-integration
+endif
+ifdef PTXCONF_QT5_OPENGL_DESKTOP
+QT5_PLUGINS-$(PTXCONF_QT5_PLATFORM_XCB) += xcbglintegrations/libqxcb-glx-integration
+endif
+
QT5_PLUGINS-$(PTXCONF_QT5_PLATFORM_DIRECTFB) += platforms/libqdirectfb
QT5_PLUGINS-$(PTXCONF_QT5_PLATFORM_EGLFS) += platforms/libqeglfs
QT5_PLUGINS-$(PTXCONF_QT5_PLATFORM_LINUXFB) += platforms/libqlinuxfb