From 1530ebcc019bf6c630e75ac3078586b70c6056e3 Mon Sep 17 00:00:00 2001 From: Lincoln Ramsay Date: Wed, 14 Mar 2012 15:59:49 +1000 Subject: Remove REGISTER_STATIC_PLUGIN This API was never particularly reliable. It is somewhat incompatible with the new-style Qt plugins. Change-Id: Iaaa0e6282404ce5477abcc8b905b14b1fb58644c Reviewed-by: Lincoln Ramsay --- tests/auto/qsensor/test_sensorplugin.cpp | 13 ------------- 1 file changed, 13 deletions(-) (limited to 'tests/auto/qsensor/test_sensorplugin.cpp') diff --git a/tests/auto/qsensor/test_sensorplugin.cpp b/tests/auto/qsensor/test_sensorplugin.cpp index 6633bf8c..08d6cd3e 100644 --- a/tests/auto/qsensor/test_sensorplugin.cpp +++ b/tests/auto/qsensor/test_sensorplugin.cpp @@ -120,17 +120,4 @@ public: REGISTER_STATIC_PLUGIN_V2(TestSensorPlugin) -class LegacySensorPlugin : public QSensorPluginInterface -{ -public: - void registerSensors() - { - qWarning() << "Loaded the LegacySensorPlugin"; - } - QStringList keys() const { return QStringList() << "legacy";} - -}; - -REGISTER_STATIC_PLUGIN(LegacySensorPlugin) - #include "test_sensorplugin.moc" -- cgit v1.2.3