Patchwork [CONSOLIDATED,PULL,28/43] qt4-x11-free: enable -accessibility and -sm

mail settings
Submitter Saul Wold
Date April 20, 2012, 4:45 p.m.
Message ID <>
Download mbox | patch
Permalink /patch/26213/
State New
Headers show


Saul Wold - April 20, 2012, 4:45 p.m.
From: Robert Yang <>

Is it possible to enable the "-sm -accessibility" in oe-core, please?
There is a meta-kde layer which requires the "-sm -accessibility", but
they are disabled in meta/recipes-qt/qt4/

QT_DISTRO_FLAGS ?= "-no-accessibility -no-sm"

I checked the log of the qt4, can't find the related log for
"-no-accessibility -no-sm".

Another way is use the bbappend, but it would be great if it can be
enabled in oe-core.

This only enables for qt4-x11, doesn't enable for qt4-embedded, and
have done testing on: qemux86, qemuarm, qemumips, qemuppc.

Signed-off-by: Robert Yang <>
 meta/recipes-qt/qt4/ |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)


diff --git a/meta/recipes-qt/qt4/ b/meta/recipes-qt/qt4/
index 072c522..a59198d 100644
--- a/meta/recipes-qt/qt4/
+++ b/meta/recipes-qt/qt4/
@@ -13,6 +13,9 @@  QT_GLFLAGS_qemuppc = "-opengl"
 QT_CONFIG_FLAGS += "-no-xinerama -no-xkb"
 QT_BASE_LIB  ?= "libqt"
+# required by kdelibs4
+QT_DISTRO_FLAGS = "-accessibility -sm"
 inherit qt4x11
 do_install_append() {