diff options
author | Topi Reinio <topi.reinio@qt.io> | 2018-09-09 16:06:30 +0200 |
---|---|---|
committer | Topi Reiniƶ <topi.reinio@qt.io> | 2018-09-26 10:51:45 +0000 |
commit | f6302903649315325965820c0ca9a32e87aaa49f (patch) | |
tree | 41e612a5f20a153177c645fb87d54a00c283c58c /src/doc/src/qt3drender-module.qdoc | |
parent | 9a0cbcc53c16e36ac161b04fdd1fe3d843951ed9 (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/qt3drender-module.qdoc')
-rw-r--r-- | src/doc/src/qt3drender-module.qdoc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/doc/src/qt3drender-module.qdoc b/src/doc/src/qt3drender-module.qdoc index c42e2b7c7..834ea45fd 100644 --- a/src/doc/src/qt3drender-module.qdoc +++ b/src/doc/src/qt3drender-module.qdoc @@ -74,7 +74,7 @@ */ /*! - \qmlmodule Qt3D.Render 2.0 + \qmlmodule Qt3D.Render 2.\QtMinorVersion \title Qt 3D Render QML Types \since 5.7 @@ -85,7 +85,7 @@ To import and use the module's QML types, use the following statement: - \badcode - import Qt3D.Render 2.0 - \endcode + \qml \QtMinorVersion + import Qt3D.Render 2.\1 + \endqml */ |