From 5948edb37237c11804bf6a7a1226134167ac47af Mon Sep 17 00:00:00 2001 From: Eskil Abrahamsen Blomfeldt Date: Mon, 6 Jul 2020 09:08:04 +0200 Subject: 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 --- examples/wayland/server-side-decoration/main.qml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'examples/wayland/server-side-decoration') 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. -- cgit v1.2.3