Hi

SDK: Qt Creator 2.4.1
Target machine: N9

Which component should I use to display an text file of unknown length ?
A scroll bar should also appear if the file is "longer" than the screen.

I am currently trying with a TextArea

TextArea {
id: changeLogArea
visible: true
width: parent.width
readOnly: true
wrapMode: TextEdit.Wrap
text: ""
}

But not sure if this is right way to go, do I have to encapsulate it in a scroll view as well ?
and how do I "set" text to the file ?

I tried
text: Qt.resolvedUrl("changelog");

But that only results in the absolute file name itself.