diff options
author | Fabian Kosmale <fabian.kosmale@qt.io> | 2021-07-21 09:53:40 +0200 |
---|---|---|
committer | Fabian Kosmale <fabian.kosmale@qt.io> | 2021-07-21 10:30:46 +0200 |
commit | 58783a4f9d411e4bc0fc45bd5da9164e3313f0a3 (patch) | |
tree | 377c91dc7889388705368f7968ef93de607413ab /src/qml/doc/snippets | |
parent | 95babf454fddfcf2d75ea66cc8b1f5409cd8353e (diff) | |
download | qtdeclarative-58783a4f9d411e4bc0fc45bd5da9164e3313f0a3.tar.gz |
Adjust import documentation to mention that versions are optional
This change also removes the versions from the import statements.
Task-number: QTBUG-95302
Pick-to: 6.1 6.2
Change-Id: Ie29e57a618917977b46dff25d13e3ca3eff249b5
Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
Diffstat (limited to 'src/qml/doc/snippets')
-rw-r--r-- | src/qml/doc/snippets/qml/imports/merged-named-imports.qml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/qml/doc/snippets/qml/imports/merged-named-imports.qml b/src/qml/doc/snippets/qml/imports/merged-named-imports.qml index 8fab0436bd..533b22cb93 100644 --- a/src/qml/doc/snippets/qml/imports/merged-named-imports.qml +++ b/src/qml/doc/snippets/qml/imports/merged-named-imports.qml @@ -49,8 +49,8 @@ ****************************************************************************/ //! [imports] -import QtQuick 2.0 as Project -import QtMultimedia 5.0 as Project +import QtQuick as Project +import QtMultimedia as Project Project.Rectangle { width: 100; height: 50 |