From: Sujith H <[email protected]>

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 <[email protected]>
Signed-off-by: Sujith H <[email protected]>
---
 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

-- 
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core

Reply via email to