Skip to contentSkip to conversation

qte-in-use-image: add touchscreen support

PATCH New Mario Domenech Goulart 1 participant 2 messages Nov 8, 2013

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 qte-in-use-image: add touchscreen support

---
 recipes-qt/images/qte-in-use-image.bb |    3 +++
 1 file changed, 3 insertions(+)
recipes-qt/images/qte-in-use-image.bb +3 -0
index 337fe6e..1862277 100644
@@ -2,6 +2,8 @@ require qt-in-use-common.inc
 
 QT_NAME = "qt4-embedded"
 
+TOUCH = ' ${@base_contains("MACHINE_FEATURES", "touchscreen", "tslib tslib-calibrate tslib-tests qt4-embedded-plugin-mousedriver-tslib", "",d)}'
+
 IMAGE_INSTALL = " \
     ${COMMON_INSTALL} \
     \
@@ -10,4 +12,5 @@ IMAGE_INSTALL = " \
     pciutils \
     usbutils \
     alsa-utils \
+    ${TOUCH} \
 "
Signature · 1 line
1.7.10.4
#1 lore raw

PATCH 2/2 qt-in-use-common.inc: add splash to IMAGE_FEATURES

---
 recipes-qt/images/qt-in-use-common.inc |    2 ++
 1 file changed, 2 insertions(+)
recipes-qt/images/qt-in-use-common.inc +2 -0
index c84c1b1..1598108 100644
@@ -27,6 +27,8 @@ QT_DEMOS = " \
     ${QT_NAME}-examples \
 "
 
+IMAGE_FEATURES += "splash"
+
 do_rootfs[depends] += "virtual/kernel:do_populate_sysroot"
 
 inherit core-image
Signature · 1 line
1.7.10.4