From c8d7534fb0fc296e363f4168ffd18f97682cc7a9 Mon Sep 17 00:00:00 2001 From: Richard Moe Gustavsen Date: Wed, 10 Apr 2013 10:09:40 +0200 Subject: Generic: set PLUGIN_CLASS_NAME to help static builds (iOS) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Reviewed-by: Tor Arne Vestbø --- src/plugins/sensors/generic/generic.pro | 1 + 1 file changed, 1 insertion(+) (limited to 'src/plugins/sensors/generic') 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 -- cgit v1.2.3