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

Item {
    Component { id: comp; Rectangle { width: 100; height: 50 } }
    Loader { sourceComponent: comp }
}