summaryrefslogtreecommitdiffstats
path: root/tests/auto/declarative/qfxloader/SetSourceComponent.qml
blob: c5dd7ffb237997a8a410a95928521be456a8a707 (plain)
1
2
3
4
5
6
import Qt 4.6

Item {
    Component { id: Comp; Rectangle { width: 120; height: 60 } }
    Loader { sourceComponent: Comp }
}