diff options
author | Jerome Pasion <jerome.pasion@qt.io> | 2020-11-20 14:30:21 +0100 |
---|---|---|
committer | Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> | 2020-11-24 23:59:49 +0000 |
commit | 3fa42288182c3461cf7d5f629d789fa8b6aaa4cb (patch) | |
tree | 19ffea7c8180a92065183803a4f690b21583df40 /src/qml | |
parent | b3848de6945d8514b6bea0909659310cbe38af61 (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
Change-Id: I555d582a13006c5abb6dc1e0266d2987ba79c6d8
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
(cherry picked from commit 370fe537badd2b98c2da7f8918a15411d5aa67ad)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Diffstat (limited to 'src/qml')
-rw-r--r-- | src/qml/doc/src/qmltypereference.qdoc | 4 |
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 |