summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRichard Moe Gustavsen <richard.gustavsen@digia.com>2013-04-10 10:09:40 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-04-23 14:36:21 +0200
commitc8d7534fb0fc296e363f4168ffd18f97682cc7a9 (patch)
tree576653e167bc994407f3a20321c453f014b073c5 /src
parente0060e69ba2a7752fa99b2d2054f67b5075e115d (diff)
Generic: set PLUGIN_CLASS_NAME to help static builds (iOS)
qmake will parse QTPLUGIN when building static apps, and create a stand-alone cpp file that adds the needed Q_IMPORT_PLUGIN lines. But for this to work, PLUGIN_CLASS_NAME needs to be set. Change-Id: Id92d78f3d77c3ce0d59fd27eec1df3271a947d51 Reviewed-by: Thomas McGuire <thomas.mcguire@kdab.com> Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@digia.com>
Diffstat (limited to 'src')
-rw-r--r--src/plugins/sensors/generic/generic.pro1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/sensors/generic/generic.pro b/src/plugins/sensors/generic/generic.pro
index fcc1bfcd..9226cab0 100644
--- a/src/plugins/sensors/generic/generic.pro
+++ b/src/plugins/sensors/generic/generic.pro
@@ -2,6 +2,7 @@ TARGET = qtsensors_generic
QT = core sensors
PLUGIN_TYPE = sensors
+PLUGIN_CLASS_NAME = genericSensorPlugin
load(qt_plugin)
HEADERS += generictiltsensor.h