aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qtquick2/qquickloader/data/initialPropertyValues.error.4.qml
blob: 9a80b2156de0bee2b2bbeeed2a5ea5d969128e4a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
import QtQuick 2.0

Item {
    id: root
    property int canary: loader.item.canary

    Loader {
        id: loader
        objectName: "loader"
    }

    Component.onCompleted: {
        loader.setSource("InitialPropertyValuesComponent.qml", 3); // invalid initial properties object
    }
}