QML 插件范例

This example creates a C++ plugin extension by subclassing QQmlEngineExtensionPlugin .

To run this example, use the following commands on the prompt:

> qmake
> make
> qml -I imports plugins.qml
					

范例工程 @ code.qt.io