diff options
author | Juha Vuolle <juha.vuolle@insta.fi> | 2021-06-23 14:53:35 +0300 |
---|---|---|
committer | Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> | 2021-07-01 08:22:38 +0000 |
commit | 42a47f9ab397de4476eb5c91194d03fa95bb5c37 (patch) | |
tree | 26402da49efc178ecba00e31a6c03f2d1944c67c /examples/sensors/maze | |
parent | f2b16cb7c1583f4563ecbdb99ee7c426d6691140 (diff) |
Remove QML import versions from QtSensor examples
QML import versioning is optional and often unnecessary in Qt 6.
Task-number: QTBUG-92505
Change-Id: I60acf84d8c75560396b896597b143dad283a2e5b
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
(cherry picked from commit 763b64cca21817af24d944d631c0fb676da8ba23)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Diffstat (limited to 'examples/sensors/maze')
-rw-r--r-- | examples/sensors/maze/Congratulation.qml | 2 | ||||
-rw-r--r-- | examples/sensors/maze/LabyrinthSquare.qml | 2 | ||||
-rw-r--r-- | examples/sensors/maze/Mouse.qml | 2 | ||||
-rw-r--r-- | examples/sensors/maze/components/ApplicationWindow.qml | 2 | ||||
-rw-r--r-- | examples/sensors/maze/components/Button.qml | 2 | ||||
-rw-r--r-- | examples/sensors/maze/maze.qml | 4 |
6 files changed, 7 insertions, 7 deletions
diff --git a/examples/sensors/maze/Congratulation.qml b/examples/sensors/maze/Congratulation.qml index 3288e3a3..9d031d12 100644 --- a/examples/sensors/maze/Congratulation.qml +++ b/examples/sensors/maze/Congratulation.qml @@ -49,7 +49,7 @@ ****************************************************************************/ //Import the declarative plugins -import QtQuick 2.0 +import QtQuick //Import the javascript functions for this game import "lib.js" as Lib diff --git a/examples/sensors/maze/LabyrinthSquare.qml b/examples/sensors/maze/LabyrinthSquare.qml index dab6d7ca..692d4322 100644 --- a/examples/sensors/maze/LabyrinthSquare.qml +++ b/examples/sensors/maze/LabyrinthSquare.qml @@ -49,7 +49,7 @@ ****************************************************************************/ //Import the declarative plugins -import QtQuick 2.0 +import QtQuick //Import the javascript functions for this game import "lib.js" as Lib diff --git a/examples/sensors/maze/Mouse.qml b/examples/sensors/maze/Mouse.qml index cf839910..e3ffa2f5 100644 --- a/examples/sensors/maze/Mouse.qml +++ b/examples/sensors/maze/Mouse.qml @@ -49,7 +49,7 @@ ****************************************************************************/ //Import the declarative plugins -import QtQuick 2.0 +import QtQuick //Import the javascript functions for this game import "lib.js" as Lib diff --git a/examples/sensors/maze/components/ApplicationWindow.qml b/examples/sensors/maze/components/ApplicationWindow.qml index 5a1c9f67..348112a7 100644 --- a/examples/sensors/maze/components/ApplicationWindow.qml +++ b/examples/sensors/maze/components/ApplicationWindow.qml @@ -49,7 +49,7 @@ ****************************************************************************/ //Import the declarative plugins -import QtQuick 2.0 +import QtQuick Rectangle { id: appWnd diff --git a/examples/sensors/maze/components/Button.qml b/examples/sensors/maze/components/Button.qml index c7a05251..59c0f9c2 100644 --- a/examples/sensors/maze/components/Button.qml +++ b/examples/sensors/maze/components/Button.qml @@ -49,7 +49,7 @@ ****************************************************************************/ //Import the declarative plugins -import QtQuick 2.0 +import QtQuick //Implementation of the Button control. Item { diff --git a/examples/sensors/maze/maze.qml b/examples/sensors/maze/maze.qml index 05ac9559..e5b4b0fe 100644 --- a/examples/sensors/maze/maze.qml +++ b/examples/sensors/maze/maze.qml @@ -79,11 +79,11 @@ */ //Import the declarative plugins -import QtQuick 2.0 +import QtQuick import "components" //! [0] -import QtSensors 5.0 +import QtSensors //! [0] //Import the javascript functions for this game |