I am writing a program using Qt. I want it to output to .doc to preserve formatting, but all that is supported by Qt are plain text, ODF, and HTML formats. ODF and HTML will preserve the formatting, but then I would have to copy and paste this to a .doc file.
I want to be able to save a .doc file and not have to worry about doing this. I have Googled this many times, but I haven't found a solution.