If you want to have a string then you have to allocate as much memory as needed to hold the string. If you just want to store the textual representation somewhere then you can use QTextStream as alreay suggested to save pieces of your text to a file. But regardless if you use the text stream or not, you'll have to create those pieces of text yourself.





Reply With Quote
Bookmarks