diff options
author | Simon Busch <morphis@gravedo.de> | 2011-05-18 23:13:05 +0200 |
---|---|---|
committer | Simon Busch <morphis@gravedo.de> | 2011-05-19 20:43:02 +0200 |
commit | 8a8dbc88232935835c1698cdf162bdf02fc1701b (patch) | |
tree | 764397e6fbbbc80263210079cadc32ce6e7b1b16 /recipes/qt4 | |
parent | 8452193de196a4c1e7f399c88dcddd07ae67b2d2 (diff) | |
download | openembedded-8a8dbc88232935835c1698cdf162bdf02fc1701b.tar.gz |
qt4-embedded: add palmpre specific profile script and bump PR
The profile script sets the input method to LinuxInput rather than Tslib which is
necessary as Tslib cannot be used by any other component on the palmpre than the tsmd
daemon.
Signed-off-by: Simon Busch <morphis@gravedo.de>
Diffstat (limited to 'recipes/qt4')
-rw-r--r-- | recipes/qt4/files/palmpre/qte.sh | 7 | ||||
-rw-r--r-- | recipes/qt4/qt4-embedded.inc | 5 |
2 files changed, 11 insertions, 1 deletions
diff --git a/recipes/qt4/files/palmpre/qte.sh b/recipes/qt4/files/palmpre/qte.sh new file mode 100644 index 0000000000..bb8dfae6c2 --- /dev/null +++ b/recipes/qt4/files/palmpre/qte.sh @@ -0,0 +1,7 @@ +#!/bin/sh + +if [ -e /dev/input/touchscreen0 ] +then + QWS_MOUSE_PROTO=LinuxInput:/dev/input/touchscreen0 + export QWS_MOUSE_PROTO +fi diff --git a/recipes/qt4/qt4-embedded.inc b/recipes/qt4/qt4-embedded.inc index 79ce00599c..8b88f94284 100644 --- a/recipes/qt4/qt4-embedded.inc +++ b/recipes/qt4/qt4-embedded.inc @@ -4,7 +4,7 @@ LICENSE = "GPL QPL" PRIORITY = "optional" HOMEPAGE = "http://www.trolltech.com" DEPENDS += "directfb tslib" -INC_PR = "r29" +INC_PR = "r30" QT_BASE_NAME ?= "qt4-embedded" QT_BASE_LIB ?= "libqt-embedded" @@ -28,6 +28,9 @@ SRC_URI = "ftp://ftp.trolltech.com/qt/source/qt-embedded-linux-opensource-src-${ # Set necessary variables in the profile SRC_URI += "file://qte.sh" +# For the palmpre we ship a modified qte.sh +PACKAGE_ARCH_palmpre = "${MACHINE_ARCH}" + S = "${WORKDIR}/qt-embedded-linux-opensource-src-${PV}" QT_CONFIG_FLAGS += " \ |