The QDeclarativeView's setSource accepts the filename of a qml file. The call automatically creates the qml object written in your qml file.
Then you can manipulate your qml object through the QDelcarativeView object. You'll learn it quickly by writing it yourself.
Add the declarative module to QT in your pro file, otherwise you won't be able to use QDeclarative
.