[OE-core] [PATCH] xserver-xf86-config: Loading glx module
Sujith H
sujith.h at gmail.com
Tue Jan 6 12:51:00 UTC 2015
From: Sujith H <Sujith_Haridasan at mentor.com>
This module was required to get opengl working with
Qt5 version 5.4 ( when tested with qemuarm and qemux86).
After adding this change to the xorg.conf and restarting
xserver qtquick and qtdeclarative examples of Qt5 started
working appropriately.
Signed-off-by: Sujith H <Sujith_Haridasan at mentor.com>
Signed-off-by: Sujith H <sujith.h at gmail.com>
---
meta/recipes-graphics/xorg-xserver/xserver-xf86-config_0.1.bb | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/meta/recipes-graphics/xorg-xserver/xserver-xf86-config_0.1.bb b/meta/recipes-graphics/xorg-xserver/xserver-xf86-config_0.1.bb
index 549c7c8..391ebae 100644
--- a/meta/recipes-graphics/xorg-xserver/xserver-xf86-config_0.1.bb
+++ b/meta/recipes-graphics/xorg-xserver/xserver-xf86-config_0.1.bb
@@ -17,4 +17,9 @@ do_install () {
install -d ${D}/${sysconfdir}/X11
install -m 0644 ${WORKDIR}/xorg.conf ${D}/${sysconfdir}/X11/
fi
+ cat >> ${D}/${sysconfdir}/X11/xorg.conf << EOF
+Section "Module"
+ Load "glx"
+EndSection
+EOF
}
--
1.8.4
More information about the Openembedded-core
mailing list