I need to display a string on a simulation screen. For that I'm supposed to read the text from an existing Filename.txt/Filename.csv file.

Qt Code:
  1. MarqueeText {
  2. id:scrolltext
  3. width: 255
  4. height: 48
  5. anchors.verticalCenter: parent.horizontalCenter
  6. text: //i need to display the string in text file here
  7. }
To copy to clipboard, switch view to plain text mode 

Please help me with this. Thank you