summaryrefslogtreecommitdiffstats
path: root/src/doc/src/qt3dinput-module.qdoc
diff options
context:
space:
mode:
authorTopi Reinio <topi.reinio@qt.io>2018-09-09 16:06:30 +0200
committerTopi Reiniƶ <topi.reinio@qt.io>2018-09-26 10:51:45 +0000
commitf6302903649315325965820c0ca9a32e87aaa49f (patch)
tree41e612a5f20a153177c645fb87d54a00c283c58c /src/doc/src/qt3dinput-module.qdoc
parent9a0cbcc53c16e36ac161b04fdd1fe3d843951ed9 (diff)
Doc: Use a macro to resolve QML import versions
QDoc now supports macros for its command parameters, as well as passing parameters to \code and \qml commands. Use these together with the new \QtMinorVersion macro to automate bumping the QML import versions within documentation. Task-number: QTBUG-67818 Change-Id: Ia09a5cc06bd6e7ccd41305cecbdac90318402d00 Reviewed-by: Kai Koehne <kai.koehne@qt.io>
Diffstat (limited to 'src/doc/src/qt3dinput-module.qdoc')
-rw-r--r--src/doc/src/qt3dinput-module.qdoc8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/doc/src/qt3dinput-module.qdoc b/src/doc/src/qt3dinput-module.qdoc
index 0fbe0aef1..9ae8accac 100644
--- a/src/doc/src/qt3dinput-module.qdoc
+++ b/src/doc/src/qt3dinput-module.qdoc
@@ -58,7 +58,7 @@
*/
/*!
- \qmlmodule Qt3D.Input 2.0
+ \qmlmodule Qt3D.Input 2.\QtMinorVersion
\title Qt 3D Input QML Types
\since 5.7
@@ -69,9 +69,9 @@
To import and use the module's QML types, use the following statement:
- \badcode
- import Qt3D.Input 2.0
- \endcode
+ \qml \QtMinorVersion
+ import Qt3D.Input 2.\1
+ \endqml
\section1 QML Types
*/