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/draganddrop.qml | |
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/draganddrop.qml')
-rw-r--r-- | examples/quick/draganddrop/draganddrop.qml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/quick/draganddrop/draganddrop.qml b/examples/quick/draganddrop/draganddrop.qml index b1fb6eb268..490223d7c0 100644 --- a/examples/quick/draganddrop/draganddrop.qml +++ b/examples/quick/draganddrop/draganddrop.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 |