diff options
author | Oliver Eftevaag <oliver.eftevaag@qt.io> | 2021-09-06 11:25:52 +0200 |
---|---|---|
committer | Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> | 2021-10-06 02:30:52 +0000 |
commit | 80226413a7ffbd0149484658943f8e884d0b4184 (patch) | |
tree | b6025a0d166dfb5f9ba6dcea6cdcc8faa8c19e06 /examples/quick/draganddrop/views | |
parent | a038dadf770ddb2697e8404741235317cf2a6674 (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.
Change-Id: I47fd28a1a114fe70986f73d4f2d87265255652a0
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
(cherry picked from commit b128136f80d7e456d2c779750a4e39d4168cf204)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
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 |