diff options
author | Jerome Pasion <jerome.pasion@qt.io> | 2020-11-20 14:30:21 +0100 |
---|---|---|
committer | Jerome Pasion <jerome.pasion@qt.io> | 2020-11-24 22:37:46 +0100 |
commit | 370fe537badd2b98c2da7f8918a15411d5aa67ad (patch) | |
tree | 948eaeffcca6005aebeef0c56251edfed0ffff72 /src/imports/models | |
parent | 34e089f86cb92a62dd628808511f95c54d84bb6c (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/imports/models')
-rw-r--r-- | src/imports/models/plugin.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/imports/models/plugin.cpp b/src/imports/models/plugin.cpp index c15866cf05..9a25fd3ad1 100644 --- a/src/imports/models/plugin.cpp +++ b/src/imports/models/plugin.cpp @@ -54,7 +54,7 @@ QT_BEGIN_NAMESPACE To use the types in this module, import the module with the following line: \qml \QtMinorVersion - import QtQml.Models 2.\1 + import QtQml.Models \endqml \note QtQml.Models module started at version 2.1 to match the version @@ -64,7 +64,7 @@ QT_BEGIN_NAMESPACE To use these experimental types, import the module with the following line: \qml - import Qt.labs.qmlmodels 1.0 + import Qt.labs.qmlmodels \endqml \section1 QML Types |