From: Max Krummenacher Date: Thu, 2 May 2019 15:25:12 +0000 (+0200) Subject: qtwayland: drop xcomposite-egl, xcomposite-glx packageconfig for mx8 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=0a0049285c3e97b045f2dd3c91ceb069a429ee2c;p=meta-freescale.git qtwayland: drop xcomposite-egl, xcomposite-glx packageconfig for mx8 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 --- diff --git a/dynamic-layers/qt5-layer/recipes-qt/qt5/qtwayland_%.bbappend b/dynamic-layers/qt5-layer/recipes-qt/qt5/qtwayland_%.bbappend index 7f61dc50..afc728c1 100644 --- a/dynamic-layers/qt5-layer/recipes-qt/qt5/qtwayland_%.bbappend +++ b/dynamic-layers/qt5-layer/recipes-qt/qt5/qtwayland_%.bbappend @@ -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"