Doc: Moved QML "plugins" example to "qmlextensionplugins"
The example generates a plugins.html which collides with the plugins.html from qtbase repository. Task-number: QTBUG-32580 Change-Id: I47ce9e00378738f7696672e6e47dd3337bb4fafc Reviewed-by: Martin Smith <martin.smith@digia.com> Reviewed-by: Topi Reiniö <topi.reinio@digia.com>
|
@ -3,7 +3,7 @@ TEMPLATE = subdirs
|
||||||
qtHaveModule(quick): SUBDIRS += networkaccessmanagerfactory xmlhttprequest
|
qtHaveModule(quick): SUBDIRS += networkaccessmanagerfactory xmlhttprequest
|
||||||
|
|
||||||
SUBDIRS += \
|
SUBDIRS += \
|
||||||
plugins \
|
qmlextensionplugins \
|
||||||
referenceexamples \
|
referenceexamples \
|
||||||
shell
|
shell
|
||||||
|
|
||||||
|
|
Before Width: | Height: | Size: 15 KiB After Width: | Height: | Size: 15 KiB |
|
@ -27,7 +27,7 @@
|
||||||
|
|
||||||
/*!
|
/*!
|
||||||
\title QML Plugin Example
|
\title QML Plugin Example
|
||||||
\example plugins
|
\example qmlextensionplugins
|
||||||
|
|
||||||
\brief This example creates a C++ plugin extension by subclassing QQmlExtensionPlugin.
|
\brief This example creates a C++ plugin extension by subclassing QQmlExtensionPlugin.
|
||||||
|
|
Before Width: | Height: | Size: 765 B After Width: | Height: | Size: 765 B |
Before Width: | Height: | Size: 20 KiB After Width: | Height: | Size: 20 KiB |
Before Width: | Height: | Size: 625 B After Width: | Height: | Size: 625 B |
Before Width: | Height: | Size: 625 B After Width: | Height: | Size: 625 B |
|
@ -16,9 +16,8 @@ pluginfiles.files += \
|
||||||
imports/TimeExample/minute.png
|
imports/TimeExample/minute.png
|
||||||
|
|
||||||
qml.files = plugins.qml
|
qml.files = plugins.qml
|
||||||
qml.path += $$[QT_INSTALL_EXAMPLES]/qml/plugins
|
qml.path += $$[QT_INSTALL_EXAMPLES]/qml/qmlextensionplugins
|
||||||
target.path += $$[QT_INSTALL_EXAMPLES]/qml/plugins/imports/TimeExample
|
target.path += $$[QT_INSTALL_EXAMPLES]/qml/qmlextensionplugins/imports/TimeExample
|
||||||
pluginfiles.path += $$[QT_INSTALL_EXAMPLES]/qml/plugins/imports/TimeExample
|
pluginfiles.path += $$[QT_INSTALL_EXAMPLES]/qml/qmlextensionplugins/imports/TimeExample
|
||||||
|
|
||||||
INSTALLS += target qml pluginfiles
|
INSTALLS += target qml pluginfiles
|
||||||
|
|