I am writing a rich text editor using C ++ and Qt. For now, I would like it to support (at least) the .odt format.
I found a QTextDocumentWriter to write the contents of a QTextDocument file to a file, but I cannot find anything to read it back to a QTextDocument, which obviously makes saving it useless in the first place.
So the question is how to load a .odt document into a QTextDocument?
source
share