This example creates a C++ plugin extension by subclassing QQmlEngineExtensionPlugin.
To run this example, use the following commands on the prompt:
> qmake > make > qmlscene -I imports plugins.qml
Example project @ code.qt.io