QQmlExtensionInterface json file



  • 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 a QStylePlugin contains the name/key of the style(s) it provides, for QSqlDriverPlugin it's the name/key of the driver, and so on.


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.