]> code.ossystems Code Review - openembedded-core.git/commitdiff
qt4-x11-free: enable -accessibility and -sm
authorRobert Yang <liezhi.yang@windriver.com>
Fri, 30 Mar 2012 01:44:47 +0000 (09:44 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 24 Apr 2012 14:51:34 +0000 (15:51 +0100)
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

index 072c522d43e494625ecb310985f697e6daa2c786..a59198d1a6b38feedabe0e450bde36deac9e5af4 100644 (file)
@@ -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() {