aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qml/qqmltypeloader/data/CircularDependencyBase.qml
diff options
context:
space:
mode:
authorJaeyoon Jung <jaeyoon.jung@lge.com>2018-02-08 14:24:20 +0900
committerDominik Holland <dominik.holland@qt.io>2020-06-16 12:36:42 +0200
commit2bad18ff33503ec291917894aca1740fb419d7c9 (patch)
treeb5e3f2b494b1402ddbfd91375bf7777b49a86e1d /tests/auto/qml/qqmltypeloader/data/CircularDependencyBase.qml
parent6adf57e8f3dac1912f532cb6956d989b8a148742 (diff)
Warn circular dependency when loading types
Detect a circular dependency between two QML types and print a warning message if found. Task-number: QTBUG-83354 Change-Id: I826b28775ba3212ccccaeb56d50b64fec6f38ea9 Reviewed-by: Ulf Hermann <ulf.hermann@qt.io> (cherry picked from commit f0c08dc2175cffadb73e06d2cc69a152002e0df0)
Diffstat (limited to 'tests/auto/qml/qqmltypeloader/data/CircularDependencyBase.qml')
-rw-r--r--tests/auto/qml/qqmltypeloader/data/CircularDependencyBase.qml3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/auto/qml/qqmltypeloader/data/CircularDependencyBase.qml b/tests/auto/qml/qqmltypeloader/data/CircularDependencyBase.qml
new file mode 100644
index 0000000000..d068d1cabc
--- /dev/null
+++ b/tests/auto/qml/qqmltypeloader/data/CircularDependencyBase.qml
@@ -0,0 +1,3 @@
+import QtQml 2.0
+
+CircularDependency {}