diff options
author | Richard Moe Gustavsen <richard.gustavsen@digia.com> | 2013-04-10 10:09:40 +0200 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-04-23 14:36:21 +0200 |
commit | c8d7534fb0fc296e363f4168ffd18f97682cc7a9 (patch) | |
tree | 576653e167bc994407f3a20321c453f014b073c5 /src/plugins/sensors/generic | |
parent | e0060e69ba2a7752fa99b2d2054f67b5075e115d (diff) | |
download | qtsensors-c8d7534fb0fc296e363f4168ffd18f97682cc7a9.tar.gz |
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/plugins/sensors/generic')
-rw-r--r-- | src/plugins/sensors/generic/generic.pro | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/sensors/generic/generic.pro b/src/plugins/sensors/generic/generic.pro index fcc1bfc..9226cab 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 |