PDA

View Full Version : how to create html file in memory



darksaga
30th August 2007, 00:55
I'd like to create a html file, without having to write it on my hdd.

This in memory created html should be viewable with QTextEdit & QTextBrowser.

Is this somehow possible?

wysota
30th August 2007, 09:30
Yes, create it using a QString variable and then use setHtml() to set it to QTextEdit or QTextBrowser.