QQmlExtensionInterface json file
Unsolved
QML and Qt Quick
-
Hi everyone!
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?
-
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 aQStylePlugin
contains the name/key of the style(s) it provides, forQSqlDriverPlugin
it's the name/key of the driver, and so on.