Details
-
Bug
-
Resolution: Incomplete
-
Not Evaluated
-
None
-
4.6.0
-
None
-
Linux, although I also hit (worse) problems on the Mac. Haven't tried Windows yet.
Description
The attached program works fine (well, doesn't crash) with 4.5.2.
But page preview crashes on 4.6.0 if you use it to preview a QTextDocument; doesn't crash to preview a QPainter-created page though.
Also, the output is generally awful in all formats when the source is a QTextDocument, although slightly less bad if the QTextDocument was created from an HTML string rather than using a QTextCursor.
BTW If you run the attached with an argument:
./outputsampler 1
it will attempt to produce output in all sensible formats using QPainter, QTextDocument/QTextCursor, and QTextDocument/HTML, so you might find it useful for testing & debugging...