aboutsummaryrefslogtreecommitdiffstats
path: root/examples/tutorials/extending/chapter6-plugins
diff options
context:
space:
mode:
Diffstat (limited to 'examples/tutorials/extending/chapter6-plugins')
-rw-r--r--examples/tutorials/extending/chapter6-plugins/chartsplugin.h2
-rw-r--r--examples/tutorials/extending/chapter6-plugins/chartsplugin.json1
2 files changed, 1 insertions, 2 deletions
diff --git a/examples/tutorials/extending/chapter6-plugins/chartsplugin.h b/examples/tutorials/extending/chapter6-plugins/chartsplugin.h
index 4db1b01987..0310920c13 100644
--- a/examples/tutorials/extending/chapter6-plugins/chartsplugin.h
+++ b/examples/tutorials/extending/chapter6-plugins/chartsplugin.h
@@ -46,7 +46,7 @@
class ChartsPlugin : public QQmlExtensionPlugin
{
Q_OBJECT
- Q_PLUGIN_METADATA(IID "org.qt-project.Qt.QQmlExtensionInterface" FILE "chartsplugin.json")
+ Q_PLUGIN_METADATA(IID "org.qt-project.Qt.QQmlExtensionInterface")
public:
void registerTypes(const char *uri);
diff --git a/examples/tutorials/extending/chapter6-plugins/chartsplugin.json b/examples/tutorials/extending/chapter6-plugins/chartsplugin.json
deleted file mode 100644
index 0967ef424b..0000000000
--- a/examples/tutorials/extending/chapter6-plugins/chartsplugin.json
+++ /dev/null
@@ -1 +0,0 @@
-{}