projects
/
profile
/
ivi
/
qtdeclarative.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
QML_RUNTIME_TESTING should be disabled by default.
[profile/ivi/qtdeclarative.git]
/
tests
/
auto
/
quick
/
qquickloader
/
data
/
initialPropertyValues.3.qml
1
import QtQuick 2.0
2
3
Item {
4
id: root
5
property int initialValue: 0
6
property int behaviorCount: 0
7
8
Loader {
9
id: loader
10
objectName: "loader"
11
active: false
12
}
13
14
Component.onCompleted: {
15
loader.setSource("InitialPropertyValuesComponent.qml", {"canary": 3});
16
root.initialValue = loader.item.canary; // error - item should not yet exist.
17
}
18
}