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

Loader {
    id: myLoader
    property int testProperty: 1912
    sourceComponent: loaderComponent
    Component {
        id: loaderComponent
        Item {
            Component.onCompleted: {
                test = (myLoader.testProperty == 1912);
            }
        }
    }
}