Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
QQmlExtensionInterface json file
shav last edited by
I know about FILE property for Q_PLUGIN_METADATA macros but I can't find any information about contents for this file. I know it's must be JSON file but what properties I can set in this file? Where I can find list of all properties which I can use in this file?
jpnurmi last edited by
The meta data is specific to each plugin type. For
QQmlExtensionPlugin, there are none, as of Qt 5.7 at least. The JSON properties are mentioned in the documentation of each plugin type that uses the meta data for something. For example, the meta data file of a
QStylePlugincontains the name/key of the style(s) it provides, for
QSqlDriverPluginit's the name/key of the driver, and so on.