diff options
author | Oliver Eftevaag <oliver.eftevaag@qt.io> | 2021-09-06 11:25:52 +0200 |
---|---|---|
committer | Oliver Eftevaag <oliver.eftevaag@qt.io> | 2021-10-06 01:03:51 +0200 |
commit | b128136f80d7e456d2c779750a4e39d4168cf204 (patch) | |
tree | 68adcf0dce1240701dba52ad21404f34c707dfef /examples/quick/draganddrop/views | |
parent | 5ff83606a1c1365b95cd12ef9d45bc4e4eb13ecd (diff) |
DragAndDrop example: Update CMakeLists.txt
This commit updates the drag and drop example to use qt_add_qml_module()
in its CMakeLists.txt file.
Pick-to: 6.2
Change-Id: I47fd28a1a114fe70986f73d4f2d87265255652a0
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Diffstat (limited to 'examples/quick/draganddrop/views')
-rw-r--r-- | examples/quick/draganddrop/views/gridview.qml | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/examples/quick/draganddrop/views/gridview.qml b/examples/quick/draganddrop/views/gridview.qml index 05bd48e7fa..98a67ca513 100644 --- a/examples/quick/draganddrop/views/gridview.qml +++ b/examples/quick/draganddrop/views/gridview.qml @@ -1,6 +1,6 @@ /**************************************************************************** ** -** Copyright (C) 2018 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 QtQml 2.14 -import QtQuick 2.14 -import QtQml.Models 2.14 +import QtQml +import QtQuick +import QtQml.Models GridView { id: root |