diff options
Diffstat (limited to 'examples/declarative/tutorials/extending/chapter6-plugins/chartsplugin.h')
-rw-r--r-- | examples/declarative/tutorials/extending/chapter6-plugins/chartsplugin.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/examples/declarative/tutorials/extending/chapter6-plugins/chartsplugin.h b/examples/declarative/tutorials/extending/chapter6-plugins/chartsplugin.h index bffcf000fd..863564b09c 100644 --- a/examples/declarative/tutorials/extending/chapter6-plugins/chartsplugin.h +++ b/examples/declarative/tutorials/extending/chapter6-plugins/chartsplugin.h @@ -46,6 +46,8 @@ class ChartsPlugin : public QDeclarativeExtensionPlugin { Q_OBJECT + Q_PLUGIN_METADATA(IID "org.qt-project.Qt.QDeclarativeExtensionInterface" FILE "chartsplugin.json") + public: void registerTypes(const char *uri); }; |