diff options
author | Oliver Eftevaag <oliver.eftevaag@qt.io> | 2021-09-03 14:06:51 +0200 |
---|---|---|
committer | Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> | 2021-09-06 16:31:10 +0000 |
commit | bfa1c9007f0755568a33f51ec54e295df6448b7b (patch) | |
tree | 78f446fa66b1291fdc03d6992b03e82625b9a14c /examples/quick/righttoleft/righttoleft.qml | |
parent | b87ab62dae3ff532d578ec678522d3a19ca68141 (diff) |
Fix righttoleft example to use a QML module
Updated CMakeLists.txt to use qt_add_qml_module().
Copyright headers and import statements have also been updated.
Change-Id: I8093d186f433293e63c6330def579f5589a938e6
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
(cherry picked from commit 56b47052b875a065f577411541e57dd9c50ace57)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Diffstat (limited to 'examples/quick/righttoleft/righttoleft.qml')
-rw-r--r-- | examples/quick/righttoleft/righttoleft.qml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/quick/righttoleft/righttoleft.qml b/examples/quick/righttoleft/righttoleft.qml index a9d8584835..dd540f06fc 100644 --- a/examples/quick/righttoleft/righttoleft.qml +++ b/examples/quick/righttoleft/righttoleft.qml @@ -1,6 +1,6 @@ /**************************************************************************** ** -** Copyright (C) 2017 The Qt Company Ltd. +** Copyright (C) 2021 The Qt Company Ltd. ** Contact: https://www.qt.io/licensing/ ** ** This file is part of the examples of the Qt Toolkit. @@ -48,8 +48,8 @@ ** ****************************************************************************/ -import QtQuick 2.0 -import "../shared" as Examples +import QtQuick +import shared as Examples Item { height: 480 |