diff options
author | Alan Alpert <alan.alpert@nokia.com> | 2012-07-24 20:05:07 +1000 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-07-25 02:15:55 +0200 |
commit | 2d4f74b7d4a77f3470135e559d619c351cef6788 (patch) | |
tree | f1db5eefe229408c432e1c260bf6b05929b54d5a /examples/tutorials | |
parent | 7daab8039abc32ab5be5706a08cb58905fe0e0b6 (diff) |
Empty JSON files are not needed for the plugin system
Change-Id: I8df57ed1ced8128723d790c30c00ccaba0a2787d
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
Diffstat (limited to 'examples/tutorials')
4 files changed, 2 insertions, 4 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 @@ -{} diff --git a/examples/tutorials/gettingStartedQml/filedialog/dialogPlugin.h b/examples/tutorials/gettingStartedQml/filedialog/dialogPlugin.h index fcaa210457..2411b5e8f9 100644 --- a/examples/tutorials/gettingStartedQml/filedialog/dialogPlugin.h +++ b/examples/tutorials/gettingStartedQml/filedialog/dialogPlugin.h @@ -46,7 +46,7 @@ class DialogPlugin : public QQmlExtensionPlugin { Q_OBJECT - Q_PLUGIN_METADATA(IID "org.qt-project.Qt.QQmlExtensionInterface" FILE "dialogplugin.json") + Q_PLUGIN_METADATA(IID "org.qt-project.Qt.QQmlExtensionInterface") public: //registerTypes is inherited from QQmlExtensionPlugin diff --git a/examples/tutorials/gettingStartedQml/filedialog/dialogplugin.json b/examples/tutorials/gettingStartedQml/filedialog/dialogplugin.json deleted file mode 100644 index 0967ef424b..0000000000 --- a/examples/tutorials/gettingStartedQml/filedialog/dialogplugin.json +++ /dev/null @@ -1 +0,0 @@ -{} |