]> code.ossystems Code Review - meta-freescale.git/commitdiff
qtwayland: drop xcomposite-egl, xcomposite-glx packageconfig for mx8
authorMax Krummenacher <max.krummenacher@toradex.com>
Thu, 2 May 2019 15:25:12 +0000 (17:25 +0200)
committerOtavio Salvador <otavio@ossystems.com.br>
Fri, 17 May 2019 10:56:07 +0000 (07:56 -0300)
NXP dropped native X11 support for i.MX 8(X).

with xcomposite-glx:
qtwayland fails in configure with:

| ERROR: Feature 'xcomposite-glx' was enabled, but the pre-condition 'features.wayland-client && features.opengl && !features.opengles2 && features.xlib && libs.xcomposite && libs.glx' failed.
| ERROR: Feature 'xcomposite-glx' was enabled, but the pre-condition 'features.wayland-server && features.opengl && !features.opengles2 && libs.xcomposite && libs.glx' failed.

with xcomposte-egl:
qtwayland fails during compile starting with:

| .../qwaylandxcompositeeglclientbufferintegration.cpp:140:59: error: cannot convert 'Display*' {aka '_XDisplay*'} to 'EGLNativeDisplayType' {aka 'wl_display*'}
|       integration->mEglDisplay = eglGetDisplay(integration->mDisplay);
|                                                ~~~~~~~~~~~~~^~~~~~~~

Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
dynamic-layers/qt5-layer/recipes-qt/qt5/qtwayland_%.bbappend

index 7f61dc5039dbd420e5c1a21052ee9e79d7a1205e..afc728c1638c8b4053986a85d89b7ea3ac33ea68 100644 (file)
@@ -1,2 +1,5 @@
 # etnaviv mesa does not have glx
 PACKAGECONFIG_remove_use-mainline-bsp = "xcomposite-glx"
+
+# i.MX8 does never provide native x11, so required dependencies are not met
+PACKAGECONFIG_remove_mx8 = "xcomposite-egl xcomposite-glx"