diff options
author | Oliver Eftevaag <oliver.eftevaag@qt.io> | 2021-09-06 15:04:46 +0200 |
---|---|---|
committer | Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> | 2021-09-06 21:55:43 +0000 |
commit | cb5131d5e9b5ddd8dd6080fc96fbd96ce83f5ee3 (patch) | |
tree | 555e3d48c1ad96daeeb67b5fede71ee0184c7d36 /examples/quick/layouts/layouts.qml | |
parent | 2c91a466cf1357ca33855be83eb9736672f12b3a (diff) |
Fix layouts example to use a QML module
Changing the CMakeLists.txt file to use qt_add_qml_module().
Change-Id: Icafe9359494136af6d5f3befaa9e767ab12deb30
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
(cherry picked from commit 2cd4391ba0c214d26ebf9298a0130b17c588a8c2)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Diffstat (limited to 'examples/quick/layouts/layouts.qml')
-rw-r--r-- | examples/quick/layouts/layouts.qml | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/examples/quick/layouts/layouts.qml b/examples/quick/layouts/layouts.qml index 8a1cb20d22..423b670b06 100644 --- a/examples/quick/layouts/layouts.qml +++ b/examples/quick/layouts/layouts.qml @@ -1,6 +1,6 @@ /**************************************************************************** ** -** Copyright (C) 2020 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,9 +48,9 @@ ** ****************************************************************************/ -import QtQuick 2.2 -import QtQuick.Controls 2.12 -import QtQuick.Layouts 1.3 +import QtQuick +import QtQuick.Controls +import QtQuick.Layouts ApplicationWindow { id: appWindow |