summaryrefslogtreecommitdiffstats
path: root/doc/src/snippets/declarative/createComponent.qml
blob: c4a1617801f8f8b2e5ead0f07910d7a9fa11e9ac (plain)
1
2
3
4
5
6
7
8
9
import Qt 4.7
import "componentCreation.js" as MyModule

Rectangle {
    id: appWindow
    width: 300; height: 300

    Component.onCompleted: MyModule.createSpriteObjects();
}