summaryrefslogtreecommitdiffstats
path: root/src/plugins/sensorgestures
diff options
context:
space:
mode:
authorLincoln Ramsay <lincoln.ramsay@nokia.com>2012-05-09 15:58:51 +1000
committerQt by Nokia <qt-info@nokia.com>2012-05-09 08:59:55 +0200
commitef7b19dcda1325de88efca794e4a85d3029b74fe (patch)
tree338d2d69ce401c89ba3c7180c26fc4428cbe9f22 /src/plugins/sensorgestures
parent0e118c4e8c4efdcaa1f9160bffe26fd17721f196 (diff)
Add required meta to the gesture plugin .pro files
Looking at the sensor plugins, it seems we need to load(qt_module) and load(qt_plugin) instead of the other things these were doing. Also, QT = core sensors because these plugins have no dependency on QtGui so we don't want to link that in. Change-Id: Id0560b0da39e6d2a7ed8619545189446324f69c0 Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
Diffstat (limited to 'src/plugins/sensorgestures')
-rw-r--r--src/plugins/sensorgestures/qtsensors/qtsensors.pro7
-rw-r--r--src/plugins/sensorgestures/shake/shake.pro7
2 files changed, 8 insertions, 6 deletions
diff --git a/src/plugins/sensorgestures/qtsensors/qtsensors.pro b/src/plugins/sensorgestures/qtsensors/qtsensors.pro
index b02ef3db..b45bd84f 100644
--- a/src/plugins/sensorgestures/qtsensors/qtsensors.pro
+++ b/src/plugins/sensorgestures/qtsensors/qtsensors.pro
@@ -1,9 +1,10 @@
-TEMPLATE = lib
-CONFIG += plugin
+load(qt_module)
TARGET = qtsensorgestures_plugin
+QT = core sensors
+
+load(qt_plugin)
-QT += sensors
DESTDIR = $$QT.sensors.plugins/sensorgestures
# Input
diff --git a/src/plugins/sensorgestures/shake/shake.pro b/src/plugins/sensorgestures/shake/shake.pro
index a5e69783..a7e0b660 100644
--- a/src/plugins/sensorgestures/shake/shake.pro
+++ b/src/plugins/sensorgestures/shake/shake.pro
@@ -1,9 +1,10 @@
-TEMPLATE = lib
-CONFIG += plugin
+load(qt_module)
TARGET = qtsensorgestures_shakeplugin
+QT = core sensors
+
+load(qt_plugin)
-QT += sensors
DESTDIR = $$QT.sensors.plugins/sensorgestures
# Input