From e6bcb7e2a68582303976448b32227d4170847c4a Mon Sep 17 00:00:00 2001 From: Ulf Hermann Date: Mon, 22 Feb 2021 10:40:32 +0100 Subject: QtQuick.Shapes: Declare dependency on QtQuick Otherwise qmllint and other tools won't know what QQuickItem is in this context. Change-Id: I68da08cf2c41f17a2623f30303ac8f66b7b9329a Reviewed-by: Maximilian Goldstein Reviewed-by: Fabian Kosmale (cherry picked from commit 1a4b0929de72d533c56dd38a9eaf49d21f16e197) --- tests/auto/qml/qmllint/data/shapes.qml | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 tests/auto/qml/qmllint/data/shapes.qml (limited to 'tests/auto/qml/qmllint/data/shapes.qml') diff --git a/tests/auto/qml/qmllint/data/shapes.qml b/tests/auto/qml/qmllint/data/shapes.qml new file mode 100644 index 0000000000..9ca4c1e18b --- /dev/null +++ b/tests/auto/qml/qmllint/data/shapes.qml @@ -0,0 +1,8 @@ +import QtQuick.Shapes + +Shape { + opacity: 0.2 + width: 20 + height: parent.height + containsMode: Shape.FillContains +} -- cgit v1.2.3