aboutsummaryrefslogtreecommitdiffstats
path: root/examples/quickcontrols2/flatstyle
diff options
context:
space:
mode:
authorMitch Curtis <mitch.curtis@qt.io>2020-03-26 17:01:51 +0100
committerMitch Curtis <mitch.curtis@qt.io>2020-08-26 11:46:00 +0200
commitd451cab0c8b727fa7f12a169a3d6ee449a3a1902 (patch)
tree8ce125b91fa050fdc0e9f0a1b95408fa5ab74f9d /examples/quickcontrols2/flatstyle
parent44847322109bd237498f3f74c4784bf27757a810 (diff)
Remove all version numbers from QML imports
As of Qt 6, the latest version will be used by default. This saves us a lot of effort in terms of version bumps. Task-number: QTBUG-82922 Change-Id: I74eba8185ec3ccc75bc293d4b2ea87d59e2d9928 Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Diffstat (limited to 'examples/quickcontrols2/flatstyle')
-rw-r--r--examples/quickcontrols2/flatstyle/Flat/Button.qml6
-rw-r--r--examples/quickcontrols2/flatstyle/Flat/CheckBox.qml6
-rw-r--r--examples/quickcontrols2/flatstyle/Flat/Switch.qml6
-rw-r--r--examples/quickcontrols2/flatstyle/MainForm.ui.qml8
-rw-r--r--examples/quickcontrols2/flatstyle/flatstyle.qml8
-rw-r--r--examples/quickcontrols2/flatstyle/imports/Theme/Theme.qml2
6 files changed, 18 insertions, 18 deletions
diff --git a/examples/quickcontrols2/flatstyle/Flat/Button.qml b/examples/quickcontrols2/flatstyle/Flat/Button.qml
index 0420ddb4..f072038a 100644
--- a/examples/quickcontrols2/flatstyle/Flat/Button.qml
+++ b/examples/quickcontrols2/flatstyle/Flat/Button.qml
@@ -48,9 +48,9 @@
**
****************************************************************************/
-import QtQuick 2.12
-import QtQuick.Templates 2.12 as T
-import Theme 1.0
+import QtQuick
+import QtQuick.Templates as T
+import Theme
T.Button {
id: control
diff --git a/examples/quickcontrols2/flatstyle/Flat/CheckBox.qml b/examples/quickcontrols2/flatstyle/Flat/CheckBox.qml
index ae819afa..01416033 100644
--- a/examples/quickcontrols2/flatstyle/Flat/CheckBox.qml
+++ b/examples/quickcontrols2/flatstyle/Flat/CheckBox.qml
@@ -48,9 +48,9 @@
**
****************************************************************************/
-import QtQuick 2.12
-import QtQuick.Templates 2.12 as T
-import Theme 1.0
+import QtQuick
+import QtQuick.Templates as T
+import Theme
T.CheckBox {
id: control
diff --git a/examples/quickcontrols2/flatstyle/Flat/Switch.qml b/examples/quickcontrols2/flatstyle/Flat/Switch.qml
index 3eea062f..1f3bd325 100644
--- a/examples/quickcontrols2/flatstyle/Flat/Switch.qml
+++ b/examples/quickcontrols2/flatstyle/Flat/Switch.qml
@@ -48,9 +48,9 @@
**
****************************************************************************/
-import QtQuick 2.12
-import QtQuick.Templates 2.12 as T
-import Theme 1.0
+import QtQuick
+import QtQuick.Templates as T
+import Theme
T.Switch {
id: control
diff --git a/examples/quickcontrols2/flatstyle/MainForm.ui.qml b/examples/quickcontrols2/flatstyle/MainForm.ui.qml
index e25158a3..fcb17adc 100644
--- a/examples/quickcontrols2/flatstyle/MainForm.ui.qml
+++ b/examples/quickcontrols2/flatstyle/MainForm.ui.qml
@@ -48,10 +48,10 @@
**
****************************************************************************/
-import QtQuick 2.12
-import QtQuick.Controls 2.12
-import QtQuick.Layouts 1.12
-import Theme 1.0
+import QtQuick
+import QtQuick.Controls
+import QtQuick.Layouts
+import Theme
Item {
id: form
diff --git a/examples/quickcontrols2/flatstyle/flatstyle.qml b/examples/quickcontrols2/flatstyle/flatstyle.qml
index 44a29cda..273cd3db 100644
--- a/examples/quickcontrols2/flatstyle/flatstyle.qml
+++ b/examples/quickcontrols2/flatstyle/flatstyle.qml
@@ -48,10 +48,10 @@
**
****************************************************************************/
-import QtQuick 2.12
-import QtQuick.Controls 2.12
-import Qt.labs.platform 1.0
-import Theme 1.0
+import QtQuick
+import QtQuick.Controls
+import Qt.labs.platform
+import Theme
ApplicationWindow {
id: window
diff --git a/examples/quickcontrols2/flatstyle/imports/Theme/Theme.qml b/examples/quickcontrols2/flatstyle/imports/Theme/Theme.qml
index 9018ece5..4529fd54 100644
--- a/examples/quickcontrols2/flatstyle/imports/Theme/Theme.qml
+++ b/examples/quickcontrols2/flatstyle/imports/Theme/Theme.qml
@@ -50,7 +50,7 @@
pragma Singleton
-import QtQuick 2.12
+import QtQuick
QtObject {
readonly property color gray: "#b2b1b1"