summaryrefslogtreecommitdiffstats
path: root/tests/manual/dynamic-model-loader-qml/dynamic-model-loader-qml.qrc
diff options
context:
space:
mode:
authorPaul Lemire <paul.lemire@kdab.com>2016-12-16 09:59:54 +0100
committerJani Heikkinen <jani.heikkinen@qt.io>2016-12-16 10:08:31 +0000
commit170f5a89b59f3489267aaede36d7728f90b2e114 (patch)
tree3c2cf812ceb7b54c1175074c6eaa91701d393a1e /tests/manual/dynamic-model-loader-qml/dynamic-model-loader-qml.qrc
parentd4e062abfa98285c581c55f42fec590a3815c95f (diff)
Only pass static metaobjects around and fix EntityLoader
- Ensure the notification changes only pass in static metaobjects. - Make the EntityLoader use the AsynchronousIfNested incubation mode to avoid cases where we could destroy something still being incubated - Add a manual test to test this cases This fixes the crashes occurring when using NodeInstantiators and EntityLoaders as delegates. Change-Id: I104c60b4be34cfb843a74dd09a8b96fdac44657d Task-number: QTBUG-57655 Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
Diffstat (limited to 'tests/manual/dynamic-model-loader-qml/dynamic-model-loader-qml.qrc')
-rw-r--r--tests/manual/dynamic-model-loader-qml/dynamic-model-loader-qml.qrc7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/manual/dynamic-model-loader-qml/dynamic-model-loader-qml.qrc b/tests/manual/dynamic-model-loader-qml/dynamic-model-loader-qml.qrc
new file mode 100644
index 000000000..8cf177b62
--- /dev/null
+++ b/tests/manual/dynamic-model-loader-qml/dynamic-model-loader-qml.qrc
@@ -0,0 +1,7 @@
+<RCC>
+ <qresource prefix="/">
+ <file>main.qml</file>
+ <file>SphereEntity.qml</file>
+ <file>CuboidEntity.qml</file>
+ </qresource>
+</RCC>