xserver-xf86-config: Loading glx module
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.
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 | 7 +++++++ 1 file changed, 7 insertions(+)
meta/recipes-graphics/xorg-xserver/xserver-xf86-config_0.1.bb +7 -0
@@ -17,4 +17,11 @@ do_install () { install -d ${D}/${sysconfdir}/X11 install -m 0644 ${WORKDIR}/xorg.conf ${D}/${sysconfdir}/X11/ fi + if ${@bb.utils.contains('DISTRO_FEATURES','x11','true','false',d)}; then + cat >> ${D}/${sysconfdir}/X11/xorg.conf << EOF +Section "Module" + Load "glx" +EndSection +EOF + fi }
Signature · 1 line
1.8.4