diff options
author | Oliver Eftevaag <oliver.eftevaag@qt.io> | 2021-09-06 15:04:46 +0200 |
---|---|---|
committer | Oliver Eftevaag <oliver.eftevaag@qt.io> | 2021-09-06 21:23:00 +0200 |
commit | 2cd4391ba0c214d26ebf9298a0130b17c588a8c2 (patch) | |
tree | bf6aabeaa7c37dcb987bf8579f85bcf1cab56564 /examples/quick/layouts/layouts.qml | |
parent | e0990f8b4069ca912de5a27df00a8039aa4a4731 (diff) |
Fix layouts example to use a QML module
Changing the CMakeLists.txt file to use qt_add_qml_module().
Pick-to: 6.2
Change-Id: Icafe9359494136af6d5f3befaa9e767ab12deb30
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
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 |