blob: 3b08e6ee42602f2628bcebde93cedc2ab0150daa (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
import QtQuick 2.0
Item {
id: root
property int initialValue: 0
property int behaviorCount: 0
Loader {
id: loader
objectName: "loader"
active: false
}
Component.onCompleted: {
loader.setSource("InitialPropertyValuesComponent.qml", {"canary": 3});
root.initialValue = loader.item.canary; // error - item should not yet exist.
}
}
|