summaryrefslogtreecommitdiffstats
path: root/examples/sensors/sensorgestures
diff options
context:
space:
mode:
authorTamás Martinec <tamas.martinec@symbio.com>2021-05-11 15:45:27 +0300
committerTamás Martinec <tamas.martinec@symbio.com>2021-05-11 16:25:12 +0300
commit2ea1ca7b3e30b60fb58ad4bf785197317250657b (patch)
treeaffc999c17a7324ca0d395b4bb5e73f5155a8cac /examples/sensors/sensorgestures
parent76e0e56be1ee9dbc23e10081adf4a3734cac7981 (diff)
QtSensors: Fix the sensorgestures example on iOS
Added explicit plugin entry to the .pro file as the gesture plugins won't be linked on iOS otherwise. Task-number: QTBUG-92508 Change-Id: I6d84a4ea706bd7f67d51c247588d3cc80e99ac98 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'examples/sensors/sensorgestures')
-rw-r--r--examples/sensors/sensorgestures/sensorgestures.pro2
1 files changed, 2 insertions, 0 deletions
diff --git a/examples/sensors/sensorgestures/sensorgestures.pro b/examples/sensors/sensorgestures/sensorgestures.pro
index e692a53c..9310ecd9 100644
--- a/examples/sensors/sensorgestures/sensorgestures.pro
+++ b/examples/sensors/sensorgestures/sensorgestures.pro
@@ -1,6 +1,8 @@
TEMPLATE = app
TARGET = gesture
QT += sensors widgets
+qtConfig(static):QTPLUGIN += qtsensorgestures_plugin qtsensorgestures_shakeplugin
+
requires(qtConfig(treewidget))
SOURCES += main.cpp\