1 2 3 4 5 6 7
#include <QQmlEngineExtensionPlugin> class CustomPlugin : public QQmlEngineExtensionPlugin { Q_OBJECT Q_PLUGIN_METADATA(IID QQmlEngineExtensionInterface_iid) };