All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-fsl-arm][RFC][PATCH] qtbase: Fix xcb can't create OpenGL context error
@ 2014-10-15 15:47 Yen-Chin Lee
  2014-10-15 18:50 ` Otavio Salvador
  0 siblings, 1 reply; 4+ messages in thread
From: Yen-Chin Lee @ 2014-10-15 15:47 UTC (permalink / raw)
  To: meta-freescale

Make qtbase include qeglfshooks_imx6.cpp when build with X11, without
this the xcb platform would compliant that no GLX nor
EGL are enabled.

This bug was introduced in commit 55399e0.

Signed-off-by: Yen-Chin Lee <coldnew.tw@gmail.com>
---
 qt5-layer/recipes-qt/qt5/qtbase_%.bbappend | 7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)

diff --git a/qt5-layer/recipes-qt/qt5/qtbase_%.bbappend b/qt5-layer/recipes-qt/qt5/qtbase_%.bbappend
index 64966c2..a71a198 100644
--- a/qt5-layer/recipes-qt/qt5/qtbase_%.bbappend
+++ b/qt5-layer/recipes-qt/qt5/qtbase_%.bbappend
@@ -45,17 +45,12 @@ do_configure_prepend_mx6() {
 	# adapt qmake.conf to our needs
 	sed -i 's!load(qt_config)!!' ${S}/mkspecs/linux-oe-g++/qmake.conf
     if test ${HAS_X11} -eq 0; then
-   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
 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
-- 
1.9.2



^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2014-10-16  8:32 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-10-15 15:47 [meta-fsl-arm][RFC][PATCH] qtbase: Fix xcb can't create OpenGL context error Yen-Chin Lee
2014-10-15 18:50 ` Otavio Salvador
2014-10-15 20:16   ` Neena Busireddy
2014-10-16  8:27     ` Yen-Chin Lee

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.