[meta-freescale] [PATCH][meta-fsl-arm 2/2] qtbase: follow 5.5 platform configuration style

Andreas Müller schnitzeltony at googlemail.com
Sun Sep 13 13:36:21 PDT 2015

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

for further details see qtbase
commit d04c3d2079e0df79592128a67e115ecb90b08454
Author: Laszlo Agocs <laszlo.agocs at 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.buddenhagen at theqtcompany.com>
    Reviewed-by: Andy Nichols <andy.nichols at theqtcompany.com>

Signed-off-by: Andreas Müller <schnitzeltony at 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
             cat >> ${S}/mkspecs/linux-oe-g++/qmake.conf <<EOF
 IMX6_CFLAGS             = -DLINUX=1
-        # 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++/
         cat >> ${S}/mkspecs/linux-oe-g++/qmake.conf <<EOF
 IMX6_CFLAGS             = -DLINUX=1

More information about the meta-freescale mailing list