aboutsummaryrefslogtreecommitdiffstats
path: root/src/qmlworkerscript
diff options
context:
space:
mode:
authorKai Köhne <kai.koehne@qt.io>2023-06-27 10:44:25 +0200
committerKai Köhne <kai.koehne@qt.io>2023-06-30 08:44:45 +0200
commitcd3c7efe4ba2f0b3d4a80db980db0d74ffd8e7cc (patch)
tree28eaef603b19c5148bef3be4de731512b547dc5d /src/qmlworkerscript
parent3b2213250869c9ef28321c7e2deb0d9dfec2c4d9 (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" {} ; Pick-to: 6.5 6.6 Change-Id: I20a5bf52f7cdd99124626f85ce9794af74382977 Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
Diffstat (limited to 'src/qmlworkerscript')
-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