aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/quick/qquickloader/data/boundComponent.qml
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/quick/qquickloader/data/boundComponent.qml')
-rw-r--r--tests/auto/quick/qquickloader/data/boundComponent.qml12
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/auto/quick/qquickloader/data/boundComponent.qml b/tests/auto/quick/qquickloader/data/boundComponent.qml
new file mode 100644
index 0000000000..84924611ba
--- /dev/null
+++ b/tests/auto/quick/qquickloader/data/boundComponent.qml
@@ -0,0 +1,12 @@
+pragma ComponentBehavior: Bound
+import QtQuick
+
+Item {
+ id: root
+
+ Loader {
+ sourceComponent: Item {
+ Component.onCompleted: root.objectName = "loaded"
+ }
+ }
+}