aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qml/qmllint/data/setRequiredPropertyThroughAlias.qml
blob: de7ad1b820e3eaf83ee704a3c55c5bd77cb329d4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
import QtQml

QtObject {
    id: root

    component C : QtObject {
        required property int i
    }

    component C2 : C {
        id: c2
        property alias ai: c2.i
    }

    property C2 c2: C2 {
        ai: 1
    }
}