Qt 4.7: C++ Extensions: Plugins Example

Qt Reference Documentation

# C++ Extensions: Plugins Example

Files:

- declarative/cppextensions/plugins/plugin.cpp
- declarative/cppextensions/plugins/plugins.qml
- declarative/cppextensions/plugins/com/nokia/TimeExample/Clock.qml
- declarative/cppextensions/plugins/plugins.pro
- declarative/cppextensions/plugins/com/nokia/TimeExample/qmldir

This example shows how to create a C++ plugin extension by subclassing QDeclarativeExtensionPlugin.