qtdeclarative/tests/auto/qml/qqmlcomponent/data/nonExistentInitialProperty.qml

10 lines
320 B
QML

import QtQml 2.0
QtObject {
property Component factory: Qt.createComponent(Qt.resolvedUrl("InitialPropertyTest.qml"), Component.PreferSynchronous)
property var incubator
function startIncubation()
{
incubator = factory.incubateObject(null, { ok: true, nonExistent: 42 }, Qt.Asynchronous)
}
}