aboutsummaryrefslogtreecommitdiffstats
path: root/src/qmlworkerscript/doc/snippets
diff options
context:
space:
mode:
authorKai Köhne <kai.koehne@qt.io>2023-06-27 10:44:25 +0200
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2023-07-03 05:29:02 +0000
commit5be95086eaa940298461b2ffaea1594ebd26249e (patch)
tree0fa0a0d70286791633cb6a329c125b7088f017e7 /src/qmlworkerscript/doc/snippets
parenteae1fbc6afb32719418bb6584fd283799f99220a (diff)
Doc: Don't use versioned Qt imports in QML snippets
We don't promote versioned imports anymore in Qt 6. Patch done by find . -path "*/snippets/*.qml" -exec perl -pi -e "s/import Qt([\.a-zA-Z]*) \d\.\d+/import Qt\\1/g" {} ; Change-Id: I20a5bf52f7cdd99124626f85ce9794af74382977 Reviewed-by: Ulf Hermann <ulf.hermann@qt.io> (cherry picked from commit cd3c7efe4ba2f0b3d4a80db980db0d74ffd8e7cc) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Diffstat (limited to 'src/qmlworkerscript/doc/snippets')
-rw-r--r--src/qmlworkerscript/doc/snippets/qml/workerscript/workerscript.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qmlworkerscript/doc/snippets/qml/workerscript/workerscript.qml b/src/qmlworkerscript/doc/snippets/qml/workerscript/workerscript.qml
index 87e179cc1e..509c1f5bf0 100644
--- a/src/qmlworkerscript/doc/snippets/qml/workerscript/workerscript.qml
+++ b/src/qmlworkerscript/doc/snippets/qml/workerscript/workerscript.qml
@@ -2,7 +2,7 @@
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
//![0]
-import QtQuick 2.0
+import QtQuick
Rectangle {
width: 300; height: 300