From 8d25a4a58c47431c589d8cbbc82e442360cf7e63 Mon Sep 17 00:00:00 2001 From: Lincoln Ramsay Date: Wed, 14 Mar 2012 16:33:19 +1000 Subject: Use the new plugin mechanism for Sensors and SensorGestures Plugins no longer use QFactoryInterface or Q_EXPORT_PLUGIN. Instead, Q_PLUGIN_METADATA is used. Meta-data is provided through a .json file that is embedded into the plugin by moc. For now, this meta-data is not actually used because both sensors and gestures use a dynamic registration mechanism. Change-Id: Ic82657e2ba5768127e13f7411ca51f60772781d8 Reviewed-by: Lincoln Ramsay --- tests/auto/sensors2qmlapi/qtemplategestureplugin.cpp | 3 --- 1 file changed, 3 deletions(-) (limited to 'tests/auto/sensors2qmlapi/qtemplategestureplugin.cpp') diff --git a/tests/auto/sensors2qmlapi/qtemplategestureplugin.cpp b/tests/auto/sensors2qmlapi/qtemplategestureplugin.cpp index 27a49dde..ab0a9087 100644 --- a/tests/auto/sensors2qmlapi/qtemplategestureplugin.cpp +++ b/tests/auto/sensors2qmlapi/qtemplategestureplugin.cpp @@ -76,6 +76,3 @@ QList QTemplateGesturePlugin::createRecognizers() return recognizers; } - -Q_EXPORT_PLUGIN2(QTemplateGestureRecognizer, QTemplateGesturePlugin) - -- cgit v1.2.3