This bbappend is inspired from the meta-fsl-arm one [1]. It is made to build qtbase with ligles-omap3 libraries and integrate more plugins, like tslib.
It has only been tested on AM335x EVM-SK, hence the _ti33x overrides; the QMAKE_LIBS flags come from [2] and [3]. [1] http://git.yoctoproject.org/cgit/cgit.cgi/meta-fsl-arm/tree/qt5-layer/recipes-qt/qt5/ [2] https://github.com/prabindh/sgxconfiguro/tree/master/pkgconfig/5.xx [3] https://github.com/prabindh/qt-configs/tree/master/qt5_1_1_Sep13 Signed-off-by: Aymeric Dumaz <[email protected]> --- recipes-qt/qt5/qtbase_%.bbappend | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 recipes-qt/qt5/qtbase_%.bbappend diff --git a/recipes-qt/qt5/qtbase_%.bbappend b/recipes-qt/qt5/qtbase_%.bbappend new file mode 100644 index 0000000..eaa4a6b --- /dev/null +++ b/recipes-qt/qt5/qtbase_%.bbappend @@ -0,0 +1,15 @@ +PACKAGECONFIG_GL_ti33x = "gles2" +PACKAGECONFIG_append_ti33x = " tslib icu examples" + +do_configure_prepend_ti33x() { + sed -i 's!load(qt_config)!!' ${S}/mkspecs/linux-oe-g++/qmake.conf + + cat >> ${S}/mkspecs/linux-oe-g++/qmake.conf <<EOF + +QMAKE_LIBS_EGL += -lGLESv2 -lGLES_CM -lsrv_um -lusc -lEGL -lIMGegl +QMAKE_LIBS_OPENGL_ES2 += -lGLESv2 -lGLES_CM -lsrv_um -lusc -lEGL -lIMGegl + +load(qt_config) + +EOF +} -- 1.9.1 -- _______________________________________________ meta-ti mailing list [email protected] https://lists.yoctoproject.org/listinfo/meta-ti
