summaryrefslogtreecommitdiffstats
path: root/examples/wayland/server-side-decoration
diff options
context:
space:
mode:
authorEskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>2020-07-06 09:08:04 +0200
committerEskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>2020-07-09 13:00:02 +0200
commit5948edb37237c11804bf6a7a1226134167ac47af (patch)
tree76f9f14c34df26bf2b14def3bc15f9cf864e5807 /examples/wayland/server-side-decoration
parente88cb48b8d0db81cc29ebe47968860b86f65b455 (diff)
Remove import versions from QML examples
We no longer have to specify the version for QML imports, as it will just default to most recently available. The examples should follow best practices, so this cleans up all the QML in the examples. Note: Due to QTBUG-85443, we have to leave the QtQuick.Controls imports versioned for now. Change-Id: I237da0bd406fe1e06123bb47e29a7d921c64b5b5 Reviewed-by: Paul Olav Tvete <paul.tvete@qt.io>
Diffstat (limited to 'examples/wayland/server-side-decoration')
-rw-r--r--examples/wayland/server-side-decoration/main.qml8
1 files changed, 4 insertions, 4 deletions
diff --git a/examples/wayland/server-side-decoration/main.qml b/examples/wayland/server-side-decoration/main.qml
index 4639ddcfd..d93d7689c 100644
--- a/examples/wayland/server-side-decoration/main.qml
+++ b/examples/wayland/server-side-decoration/main.qml
@@ -48,10 +48,10 @@
**
****************************************************************************/
-import QtQuick 2.12
-import QtQuick.Window 2.2
-import QtQuick.Layouts 1.3
-import QtWayland.Compositor 1.3
+import QtQuick
+import QtQuick.Window
+import QtQuick.Layouts
+import QtWayland.Compositor
WaylandCompositor {
// The output defines the screen.