diff options
author | Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io> | 2020-07-06 09:08:04 +0200 |
---|---|---|
committer | Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io> | 2020-07-09 13:00:02 +0200 |
commit | 5948edb37237c11804bf6a7a1226134167ac47af (patch) | |
tree | 76f9f14c34df26bf2b14def3bc15f9cf864e5807 /examples/wayland/server-buffer | |
parent | e88cb48b8d0db81cc29ebe47968860b86f65b455 (diff) | |
download | qtwayland-5948edb37237c11804bf6a7a1226134167ac47af.tar.gz |
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-buffer')
-rw-r--r-- | examples/wayland/server-buffer/compositor/qml/main.qml | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/examples/wayland/server-buffer/compositor/qml/main.qml b/examples/wayland/server-buffer/compositor/qml/main.qml index 7df8ab7b..907c2089 100644 --- a/examples/wayland/server-buffer/compositor/qml/main.qml +++ b/examples/wayland/server-buffer/compositor/qml/main.qml @@ -48,15 +48,11 @@ ** ****************************************************************************/ -import QtQuick 2.6 -import QtWayland.Compositor 1.0 -import QtQuick.Window 2.2 +import QtQuick +import QtWayland.Compositor +import QtQuick.Window -import com.theqtcompany.sharebufferextension 1.0 - -import QtQuick 2.6 -import QtQuick.Window 2.2 -import QtWayland.Compositor 1.0 +import com.theqtcompany.sharebufferextension WaylandCompositor { WaylandOutput { |