From e98b48f55cdb57a369513100f82d7c1df99c1243 Mon Sep 17 00:00:00 2001 From: Fabian Kosmale Date: Mon, 18 Jan 2021 14:32:00 +0100 Subject: QQmlComponentPrivate::setInitialProperties: Do not silently swallow exceptions Instead, log them with qmlWarning. Change-Id: Icde7397085841a84aca8a81c716d552c4cd4485a Reviewed-by: Ulf Hermann --- tests/auto/quick/qquickloader/data/Component.qml | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 tests/auto/quick/qquickloader/data/Component.qml (limited to 'tests/auto/quick/qquickloader/data/Component.qml') diff --git a/tests/auto/quick/qquickloader/data/Component.qml b/tests/auto/quick/qquickloader/data/Component.qml new file mode 100644 index 0000000000..8a9318a0de --- /dev/null +++ b/tests/auto/quick/qquickloader/data/Component.qml @@ -0,0 +1,5 @@ +import QtQuick 2.15 + +Item { + property int i +} -- cgit v1.2.3