aboutsummaryrefslogtreecommitdiffstats
path: root/examples/qml/cppextensions
diff options
context:
space:
mode:
Diffstat (limited to 'examples/qml/cppextensions')
-rw-r--r--examples/qml/cppextensions/imageprovider/imageprovider.cpp2
-rw-r--r--examples/qml/cppextensions/imageprovider/imageprovider.json1
-rw-r--r--examples/qml/cppextensions/plugins/plugin.cpp2
-rw-r--r--examples/qml/cppextensions/plugins/plugin.json1
4 files changed, 2 insertions, 4 deletions
diff --git a/examples/qml/cppextensions/imageprovider/imageprovider.cpp b/examples/qml/cppextensions/imageprovider/imageprovider.cpp
index d60057e83a..a203ad8053 100644
--- a/examples/qml/cppextensions/imageprovider/imageprovider.cpp
+++ b/examples/qml/cppextensions/imageprovider/imageprovider.cpp
@@ -87,7 +87,7 @@ public:
class ImageProviderExtensionPlugin : public QQmlExtensionPlugin
{
Q_OBJECT
- Q_PLUGIN_METADATA(IID "org.qt-project.Qt.QQmlExtensionInterface" FILE "imageprovider.json")
+ Q_PLUGIN_METADATA(IID "org.qt-project.Qt.QQmlExtensionInterface")
public:
void registerTypes(const char *uri)
{
diff --git a/examples/qml/cppextensions/imageprovider/imageprovider.json b/examples/qml/cppextensions/imageprovider/imageprovider.json
deleted file mode 100644
index 0967ef424b..0000000000
--- a/examples/qml/cppextensions/imageprovider/imageprovider.json
+++ /dev/null
@@ -1 +0,0 @@
-{}
diff --git a/examples/qml/cppextensions/plugins/plugin.cpp b/examples/qml/cppextensions/plugins/plugin.cpp
index 5e9900cb4f..f20e6935be 100644
--- a/examples/qml/cppextensions/plugins/plugin.cpp
+++ b/examples/qml/cppextensions/plugins/plugin.cpp
@@ -141,7 +141,7 @@ MinuteTimer *TimeModel::timer=0;
class QExampleQmlPlugin : public QQmlExtensionPlugin
{
Q_OBJECT
- Q_PLUGIN_METADATA(IID "org.qt-project.Qt.QQmlExtensionInterface" FILE "plugin.json")
+ Q_PLUGIN_METADATA(IID "org.qt-project.Qt.QQmlExtensionInterface")
public:
void registerTypes(const char *uri)
diff --git a/examples/qml/cppextensions/plugins/plugin.json b/examples/qml/cppextensions/plugins/plugin.json
deleted file mode 100644
index 0967ef424b..0000000000
--- a/examples/qml/cppextensions/plugins/plugin.json
+++ /dev/null
@@ -1 +0,0 @@
-{}