aboutsummaryrefslogtreecommitdiffstats
path: root/src/imports/templates/doc/src/qtquicktemplates2-qmltypes.qdoc
diff options
context:
space:
mode:
Diffstat (limited to 'src/imports/templates/doc/src/qtquicktemplates2-qmltypes.qdoc')
-rw-r--r--src/imports/templates/doc/src/qtquicktemplates2-qmltypes.qdoc6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/imports/templates/doc/src/qtquicktemplates2-qmltypes.qdoc b/src/imports/templates/doc/src/qtquicktemplates2-qmltypes.qdoc
index f93d6a37..fb7809e4 100644
--- a/src/imports/templates/doc/src/qtquicktemplates2-qmltypes.qdoc
+++ b/src/imports/templates/doc/src/qtquicktemplates2-qmltypes.qdoc
@@ -37,9 +37,9 @@
The QML types can be imported using the following import statement in your
\c .qml file:
- \badcode
- import QtQuick.Templates 2.12 as T
- \endcode
+ \qml \QtMinorVersion
+ import QtQuick.Templates 2.\1 as T
+ \endqml
For the sake of clarity, there is a one-to-one mapping between the types
provided by the \c QtQuick.Templates and \c QtQuick.Controls imports. For