aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/doc/src
diff options
context:
space:
mode:
authorJerome Pasion <jerome.pasion@qt.io>2020-11-20 14:30:21 +0100
committerJerome Pasion <jerome.pasion@qt.io>2020-11-24 22:37:46 +0100
commit370fe537badd2b98c2da7f8918a15411d5aa67ad (patch)
tree948eaeffcca6005aebeef0c56251edfed0ffff72 /src/qml/doc/src
parent34e089f86cb92a62dd628808511f95c54d84bb6c (diff)
Doc: Remove version numbers for import statement
-recommend using the import statement without versions for Qt 6.0 -update use of \qml Task-number: QTBUG-87155 Pick-to: 6.0 6.0.0 Change-Id: I555d582a13006c5abb6dc1e0266d2987ba79c6d8 Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
Diffstat (limited to 'src/qml/doc/src')
-rw-r--r--src/qml/doc/src/qmltypereference.qdoc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/qml/doc/src/qmltypereference.qdoc b/src/qml/doc/src/qmltypereference.qdoc
index ae36ebbcc9..b28d6ac16c 100644
--- a/src/qml/doc/src/qmltypereference.qdoc
+++ b/src/qml/doc/src/qmltypereference.qdoc
@@ -47,7 +47,7 @@ The current version of the \c QtQml module is version 2.\QtMinorVersion, and
thus it may be imported via the following statement:
\qml \QtMinorVersion
-import QtQml 2.\1
+import QtQml
\endqml
Most clients will never need to use the \c QtQml import, as all of the types
@@ -55,7 +55,7 @@ are also provided by the \c QtQuick namespace which may be imported as
follows:
\qml \QtMinorVersion
-import QtQuick 2.\1
+import QtQuick
\endqml
See the \l{Qt Quick} module documentation for more information about the \c