Details
-
Bug
-
Resolution: Done
-
P3: Somewhat important
-
4.5.3
-
None
-
06baf7f173b0331a5192616b8ecf9611130f278b
Description
When printing a QTextDocument which contains custom objects derived from QTextObjectInterface using QTextDocument::print(), the custom objects do not show up. Their intrinsicSize() method is called, but drawObject() is not. However, when drawing the document with QTextDocument::documentLayout()->draw(), then the custom objects are drawn.