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.tret...@pengutronix.de>
---
 rules/qt5.make | 7 +++++++
 1 file changed, 7 insertions(+)

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
-- 
2.11.0


_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

Reply via email to