This one comes up when building for non-x11 / wayland.

for further details see qtbase
commit d04c3d2079e0df79592128a67e115ecb90b08454
Author: Laszlo Agocs <laszlo.ag...@theqtcompany.com>
Date:   Mon Mar 2 16:09:22 2015 +0100

    eglfs: Pluginize RPi, iMX6 and Mali backends

    eglfs does not depend on the device makespecs anymore when it comes to 
these device
    integration backends (hooks). Instead, backends are autodetected by 
configure.

    The name of the preferred plugin is still set in the device makespecs. This
    is optional. When not set and there is more than one plugin present in the 
system,
    the environment variable QT_QPA_EGLFS_INTEGRATION will have to be set at 
runtime.
    In the absence of that, the order is undefined.

    Change-Id: Ie1ced2c9aa1beff2adb13b4fdea7c499cb5a6aab
    Reviewed-by: Oswald Buddenhagen <oswald.buddenha...@theqtcompany.com>
    Reviewed-by: Andy Nichols <andy.nich...@theqtcompany.com>

Signed-off-by: Andreas Müller <schnitzelt...@googlemail.com>
---
 qt5-layer/recipes-qt/qt5/qtbase_%.bbappend | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/qt5-layer/recipes-qt/qt5/qtbase_%.bbappend 
b/qt5-layer/recipes-qt/qt5/qtbase_%.bbappend
index 6570702..f157c4d 100644
--- a/qt5-layer/recipes-qt/qt5/qtbase_%.bbappend
+++ b/qt5-layer/recipes-qt/qt5/qtbase_%.bbappend
@@ -22,16 +22,14 @@ do_configure_prepend_mx6() {
         if test ${IS_MX6SL} -eq 0; then
     
             cat >> ${S}/mkspecs/linux-oe-g++/qmake.conf <<EOF
-EGLFS_PLATFORM_HOOKS_SOURCES = \$\$PWD/qeglfshooks_imx6.cpp
 IMX6_CFLAGS             = -DLINUX=1 -DEGL_API_FB=1
+EGLFS_DEVICE_INTEGRATION = eglfs_viv
 EOF
         else
             cat >> ${S}/mkspecs/linux-oe-g++/qmake.conf <<EOF
 IMX6_CFLAGS             = -DLINUX=1
 EOF
         fi
-        # copy the hook in the mkspecs directory OE is using
-        cp ${S}/mkspecs/devices/linux-imx6-g++/qeglfshooks_imx6.cpp 
${S}/mkspecs/linux-oe-g++/
     else
         cat >> ${S}/mkspecs/linux-oe-g++/qmake.conf <<EOF
 IMX6_CFLAGS             = -DLINUX=1
-- 
2.1.0

-- 
_______________________________________________
meta-freescale mailing list
meta-freescale@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-freescale

Reply via email to