diff options
Diffstat (limited to 'src/qml/qml/qqmlextensionplugin.cpp')
-rw-r--r-- | src/qml/qml/qqmlextensionplugin.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/qml/qml/qqmlextensionplugin.cpp b/src/qml/qml/qqmlextensionplugin.cpp index 8ccbb88dc2..f75b2bdab2 100644 --- a/src/qml/qml/qqmlextensionplugin.cpp +++ b/src/qml/qml/qqmlextensionplugin.cpp @@ -61,7 +61,7 @@ QT_BEGIN_NAMESPACE \li Subclass QQmlExtensionPlugin, implement registerTypes() method to register types using qmlRegisterType(), and export the class using the Q_EXPORT_PLUGIN2() macro \li Write an appropriate project file for the plugin - \li Create a \l{Adding Module Metadata with a qmldir file}{qmldir file} to describe the plugin + \li Create a \l{Module Definition qmldir Files}{qmldir file} to describe the plugin \endlist QML extension plugins can be used to provide either application-specific or @@ -105,7 +105,7 @@ QT_BEGIN_NAMESPACE ... \endcode - Finally, a \l{Adding Module Metadata with a qmldir file}{qmldir file} is required in the \c com/nokia/TimeExample directory + Finally, a \l{Module Definition qmldir Files}{qmldir file} is required in the \c com/nokia/TimeExample directory that describes the plugin. This directory includes a \c Clock.qml file that should be bundled with the plugin, so it needs to be specified in the \c qmldir file: @@ -119,7 +119,7 @@ QT_BEGIN_NAMESPACE The full source code is available in the \l {qml/cppextensions/plugins}{plugins example}. - The \l {Tutorial: Extending QML with C++} also contains a chapter + The \l {Writing QML Extensions with C++} tutorial also contains a chapter on creating QML plugins. Note that the QtQuick 1 version is called QDeclarativeExtensionPlugin. |