diff options
author | Oswald Buddenhagen <oswald.buddenhagen@digia.com> | 2014-04-07 17:32:24 +0200 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2014-04-09 10:51:16 +0200 |
commit | 2a503c28e4b9c9c05ee69e115f3530bb764844e3 (patch) | |
tree | 92b1cc05b61322fd4d07521f92ebfa70f9ec2e77 /src | |
parent | 5bdeb53a9b1e2543539e637c72dfaf3b91fdb60c (diff) | |
download | qtsensors-2a503c28e4b9c9c05ee69e115f3530bb764844e3.tar.gz |
add PLUGIN_CLASS_NAME declarations to plugin projects
needed for automatic static linking (and later deployment).
the gesture plugins are excluded from the automation based on the
assumption that they are usually not needed.
the example and the test plugin are also excluded for obvious reasons.
Change-Id: I7645aa0daf216ce430989e13d4380dbe6dd2bbd1
Reviewed-by: Fawzi Mohamed <fawzi.mohamed@digia.com>
Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/plugins/sensorgestures/qtsensors/qtsensors.pro | 2 | ||||
-rw-r--r-- | src/plugins/sensorgestures/shake/shake.pro | 2 | ||||
-rw-r--r-- | src/plugins/sensors/android/src/src.pro | 1 | ||||
-rw-r--r-- | src/plugins/sensors/blackberry/blackberry.pro | 1 | ||||
-rw-r--r-- | src/plugins/sensors/dummy/dummy.pro | 1 | ||||
-rw-r--r-- | src/plugins/sensors/linux/linux.pro | 1 | ||||
-rw-r--r-- | src/plugins/sensors/sensorfw/sensorfw.pro | 1 | ||||
-rw-r--r-- | src/plugins/sensors/simulator/simulator.pro | 1 | ||||
-rw-r--r-- | src/plugins/sensors/winrt/winrt.pro | 1 |
9 files changed, 11 insertions, 0 deletions
diff --git a/src/plugins/sensorgestures/qtsensors/qtsensors.pro b/src/plugins/sensorgestures/qtsensors/qtsensors.pro index de6c278..3f8df03 100644 --- a/src/plugins/sensorgestures/qtsensors/qtsensors.pro +++ b/src/plugins/sensorgestures/qtsensors/qtsensors.pro @@ -2,6 +2,8 @@ TARGET = qtsensorgestures_plugin QT = core sensors PLUGIN_TYPE = sensorgestures +PLUGIN_CLASS_NAME = QtSensorGesturePlugin +PLUGIN_EXTENDS = - load(qt_plugin) # Input diff --git a/src/plugins/sensorgestures/shake/shake.pro b/src/plugins/sensorgestures/shake/shake.pro index 82031c6..d7d8f92 100644 --- a/src/plugins/sensorgestures/shake/shake.pro +++ b/src/plugins/sensorgestures/shake/shake.pro @@ -2,6 +2,8 @@ TARGET = qtsensorgestures_shakeplugin QT = core sensors PLUGIN_TYPE = sensorgestures +PLUGIN_CLASS_NAME = QShakeSensorGesturePlugin +PLUGIN_EXTENDS = - load(qt_plugin) # Input diff --git a/src/plugins/sensors/android/src/src.pro b/src/plugins/sensors/android/src/src.pro index a184aae..21423ef 100644 --- a/src/plugins/sensors/android/src/src.pro +++ b/src/plugins/sensors/android/src/src.pro @@ -2,6 +2,7 @@ TARGET = qtsensors_android QT = sensors core PLUGIN_TYPE = sensors +PLUGIN_CLASS_NAME = QCounterGesturePlugin load(qt_plugin) # STATICPLUGIN needed because there's a Q_IMPORT_PLUGIN in main.cpp diff --git a/src/plugins/sensors/blackberry/blackberry.pro b/src/plugins/sensors/blackberry/blackberry.pro index 902239c..8095cf1 100644 --- a/src/plugins/sensors/blackberry/blackberry.pro +++ b/src/plugins/sensors/blackberry/blackberry.pro @@ -3,6 +3,7 @@ QT = sensors core DEFINES += QT_NO_CAST_FROM_ASCII QT_NO_CAST_TO_ASCII PLUGIN_TYPE = sensors +PLUGIN_CLASS_NAME = BbSensorPlugin load(qt_plugin) config_bbsensor_header { diff --git a/src/plugins/sensors/dummy/dummy.pro b/src/plugins/sensors/dummy/dummy.pro index f54588a..93f54dc 100644 --- a/src/plugins/sensors/dummy/dummy.pro +++ b/src/plugins/sensors/dummy/dummy.pro @@ -2,6 +2,7 @@ TARGET = qtsensors_dummy QT = sensors core PLUGIN_TYPE = sensors +PLUGIN_CLASS_NAME = dummySensorPlugin load(qt_plugin) HEADERS += dummycommon.h\ diff --git a/src/plugins/sensors/linux/linux.pro b/src/plugins/sensors/linux/linux.pro index 25c4f2d..636bd1b 100644 --- a/src/plugins/sensors/linux/linux.pro +++ b/src/plugins/sensors/linux/linux.pro @@ -2,6 +2,7 @@ TARGET = qtsensors_linuxsys QT = core sensors PLUGIN_TYPE = sensors +PLUGIN_CLASS_NAME = LinuxSensorPlugin load(qt_plugin) OTHER_FILES = plugin.json diff --git a/src/plugins/sensors/sensorfw/sensorfw.pro b/src/plugins/sensors/sensorfw/sensorfw.pro index f875f59..6c1408b 100644 --- a/src/plugins/sensors/sensorfw/sensorfw.pro +++ b/src/plugins/sensors/sensorfw/sensorfw.pro @@ -2,6 +2,7 @@ TARGET = qtsensors_sensorfw QT = core sensors network dbus PLUGIN_TYPE = sensors +PLUGIN_CLASS_NAME = sensorfwSensorPlugin load(qt_plugin) include(sensorfw.pri) diff --git a/src/plugins/sensors/simulator/simulator.pro b/src/plugins/sensors/simulator/simulator.pro index 2c1d933..b110137 100644 --- a/src/plugins/sensors/simulator/simulator.pro +++ b/src/plugins/sensors/simulator/simulator.pro @@ -1,6 +1,7 @@ TARGET = qtsensors_simulator PLUGIN_TYPE = sensors +PLUGIN_CLASS_NAME = SimulatorSensorPlugin load(qt_plugin) QT=core gui network sensors simulator diff --git a/src/plugins/sensors/winrt/winrt.pro b/src/plugins/sensors/winrt/winrt.pro index 494e1bf..e9f3274 100644 --- a/src/plugins/sensors/winrt/winrt.pro +++ b/src/plugins/sensors/winrt/winrt.pro @@ -2,6 +2,7 @@ TARGET = qtsensors_winrt QT = sensors core PLUGIN_TYPE = sensors +PLUGIN_CLASS_NAME = WinRtSensorPlugin load(qt_plugin) HEADERS += \ |