diff options
Diffstat (limited to 'tests/auto/qsensor/test_sensorplugin.cpp')
-rw-r--r-- | tests/auto/qsensor/test_sensorplugin.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/auto/qsensor/test_sensorplugin.cpp b/tests/auto/qsensor/test_sensorplugin.cpp index 08d6cd3e..6d78e905 100644 --- a/tests/auto/qsensor/test_sensorplugin.cpp +++ b/tests/auto/qsensor/test_sensorplugin.cpp @@ -54,7 +54,8 @@ class TestSensorPlugin : public QObject, public QSensorBackendFactory { Q_OBJECT - Q_INTERFACES(QSensorPluginInterface:QFactoryInterface QSensorChangesInterface) + //Q_PLUGIN_METADATA(IID "com.nokia.Qt.QSensorPluginInterface/1.0" FILE "plugin.json") + Q_INTERFACES(QSensorPluginInterface QSensorChangesInterface) public: void registerSensors() { @@ -104,8 +105,6 @@ public: qWarning() << "Can't create backend" << sensor->identifier(); return 0; } - QStringList keys() const { return QStringList() << "test";} - }; // Logic stolen from qplugin.h |