summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPekka Vuorela <pekka.ta.vuorela@nokia.com>2012-03-29 14:15:16 +0300
committerQt by Nokia <qt-info@nokia.com>2012-03-29 13:50:38 +0200
commitcff58175dd94f16d7953638afd8baa93e012cfa6 (patch)
tree6422c217e70d7f8b43fc6adc0103129f693ee676 /src
parentfb277cbdcff5cd30b9d3425797e406ef0b91c4ec (diff)
Use new plugin interface on QtQuick module
Change-Id: I0e0cf8e504e85c2069447ae84f4bf1eb527a1a06 Reviewed-by: Jaakko Korpela <jaakko.korpela@nokia.com>
Diffstat (limited to 'src')
-rw-r--r--src/imports/feedback/plugin.cpp4
-rw-r--r--src/imports/feedback/plugin.json1
2 files changed, 3 insertions, 2 deletions
diff --git a/src/imports/feedback/plugin.cpp b/src/imports/feedback/plugin.cpp
index 29642f3..fc12e06 100644
--- a/src/imports/feedback/plugin.cpp
+++ b/src/imports/feedback/plugin.cpp
@@ -60,6 +60,8 @@ static QObject *createDeclarativeThemeEfect(QDeclarativeEngine *engine, QJSEngin
class QDeclarativeFeedbackPlugin : public QDeclarativeExtensionPlugin
{
Q_OBJECT
+ Q_PLUGIN_METADATA(IID "org.qt-project.Qt.QQmlExtensionInterface" FILE "plugin.json")
+
public:
virtual void registerTypes(const char *uri)
{
@@ -78,5 +80,3 @@ public:
};
#include "plugin.moc"
-
-Q_EXPORT_PLUGIN2(declarative_feedback, QDeclarativeFeedbackPlugin)
diff --git a/src/imports/feedback/plugin.json b/src/imports/feedback/plugin.json
new file mode 100644
index 0000000..0967ef4
--- /dev/null
+++ b/src/imports/feedback/plugin.json
@@ -0,0 +1 @@
+{}