From ef7b19dcda1325de88efca794e4a85d3029b74fe Mon Sep 17 00:00:00 2001 From: Lincoln Ramsay Date: Wed, 9 May 2012 15:58:51 +1000 Subject: 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 --- src/plugins/sensorgestures/qtsensors/qtsensors.pro | 7 ++++--- src/plugins/sensorgestures/shake/shake.pro | 7 ++++--- 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 -- cgit v1.2.3