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

Submitted by Saul Wold on April 20, 2012, 4:45 p.m. | Patch ID: 26213


Message ID cc6a5f53b85395a57d7435291c3aa34d5f6c2f86.1334940120.git.sgw@linux.intel.com
State New
Headers show

Commit Message

Saul Wold April 20, 2012, 4:45 p.m.
From: Robert Yang <liezhi.yang@windriver.com>

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/qt4.inc:

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 <liezhi.yang@windriver.com>
 meta/recipes-qt/qt4/qt4-x11-free.inc |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

Patch hide | download patch | download mbox

diff --git a/meta/recipes-qt/qt4/qt4-x11-free.inc b/meta/recipes-qt/qt4/qt4-x11-free.inc
index 072c522..a59198d 100644
--- a/meta/recipes-qt/qt4/qt4-x11-free.inc
+++ b/meta/recipes-qt/qt4/qt4-x11-free.inc
@@ -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() {