diff options
Diffstat (limited to 'meta/recipes-qt/qt4')
-rw-r--r-- | meta/recipes-qt/qt4/qt4-embedded.inc | 10 | ||||
-rw-r--r-- | meta/recipes-qt/qt4/qt4-x11-free.inc | 6 |
2 files changed, 12 insertions, 4 deletions
diff --git a/meta/recipes-qt/qt4/qt4-embedded.inc b/meta/recipes-qt/qt4/qt4-embedded.inc index 905e2779bb..3b3768904c 100644 --- a/meta/recipes-qt/qt4/qt4-embedded.inc +++ b/meta/recipes-qt/qt4/qt4-embedded.inc | |||
@@ -10,14 +10,20 @@ QT_BASE_LIB ?= "libqt-embedded" | |||
10 | # Set necessary variables in the profile | 10 | # Set necessary variables in the profile |
11 | SRC_URI += "file://qte.sh" | 11 | SRC_URI += "file://qte.sh" |
12 | 12 | ||
13 | QT_CONFIG_FLAGS += " \ | 13 | QT_EMBEDDED_FLAGS ?= " \ |
14 | -embedded $QT_ARCH \ | 14 | -embedded $QT_ARCH \ |
15 | -qtlibinfix ${QT_LIBINFIX} \ | 15 | -qtlibinfix ${QT_LIBINFIX} \ |
16 | " | ||
17 | QT_EMBEDDED_EXTRA_FLAGS ?= " \ | ||
16 | -plugin-gfx-transformed -plugin-gfx-qvfb -plugin-gfx-vnc -plugin-gfx-directfb \ | 18 | -plugin-gfx-transformed -plugin-gfx-qvfb -plugin-gfx-vnc -plugin-gfx-directfb \ |
17 | -plugin-mouse-tslib -qt-mouse-pc -qt-mouse-qvfb -qt-mouse-linuxinput \ | 19 | -plugin-mouse-tslib -qt-mouse-pc -qt-mouse-qvfb -qt-mouse-linuxinput \ |
18 | -qt-kbd-tty \ | 20 | -qt-kbd-tty \ |
21 | " | ||
22 | QT_EMBEDDED_KEYPAD_FLAGS ?= " \ | ||
19 | -DQT_KEYPAD_NAVIGATION \ | 23 | -DQT_KEYPAD_NAVIGATION \ |
20 | " | 24 | " |
25 | |||
26 | QT_CONFIG_FLAGS += "${QT_EMBEDDED_FLAGS} ${QT_EMBEDDED_EXTRA_FLAGS} ${QT_EMBEDDED_KEYPAD_FLAGS}" | ||
21 | 27 | ||
22 | require qt4.inc | 28 | require qt4.inc |
23 | 29 | ||
diff --git a/meta/recipes-qt/qt4/qt4-x11-free.inc b/meta/recipes-qt/qt4/qt4-x11-free.inc index 404d8b8563..20ad30c579 100644 --- a/meta/recipes-qt/qt4/qt4-x11-free.inc +++ b/meta/recipes-qt/qt4/qt4-x11-free.inc | |||
@@ -12,11 +12,13 @@ INC_PR = "r47" | |||
12 | QT_GLFLAGS ?= "${@base_contains('DISTRO_FEATURES', 'opengl', '-opengl', '-no-opengl', d)} " | 12 | QT_GLFLAGS ?= "${@base_contains('DISTRO_FEATURES', 'opengl', '-opengl', '-no-opengl', d)} " |
13 | QT_GLFLAGS_qemux86 = "-opengl" | 13 | QT_GLFLAGS_qemux86 = "-opengl" |
14 | QT_GLFLAGS_qemuppc = "-opengl" | 14 | QT_GLFLAGS_qemuppc = "-opengl" |
15 | QT_CONFIG_FLAGS += "-no-xinerama -no-xkb" | 15 | QT_X11_FLAGS ?= "-no-xinerama -no-xkb" |
16 | QT_CONFIG_FLAGS += "${QT_X11_FLAGS}" | ||
16 | QT_BASE_LIB ?= "libqt" | 17 | QT_BASE_LIB ?= "libqt" |
17 | 18 | ||
18 | # required by kdelibs4 | 19 | # required by kdelibs4 |
19 | QT_DISTRO_FLAGS = "-accessibility -sm" | 20 | QT_KDE_FLAGS ?= "-accessibility -sm" |
21 | QT_DISTRO_FLAGS ?= "${QT_KDE_FLAGS}" | ||
20 | 22 | ||
21 | inherit qt4x11 | 23 | inherit qt4x11 |
22 | 24 | ||