Skip to contentSkip to conversation

xserver-xf86-config: Loading glx module

PATCH New Sujith H 1 participant 1 message Jan 6, 2015

lore
Share & tools
lore

Sujith H

author
#0 lore raw

PATCH 1/1 xserver-xf86-config: Loading glx module

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.

---
 meta/recipes-graphics/xorg-xserver/xserver-xf86-config_0.1.bb | 5 +++++
 1 file changed, 5 insertions(+)
meta/recipes-graphics/xorg-xserver/xserver-xf86-config_0.1.bb +5 -0
index 549c7c8..391ebae 100644
@@ -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
 }
Signature · 1 line
1.8.4