Important: Please read the Qt Code of Conduct -

QWidget render method prints in graphics mode badly

  • Hello,

    I use Qt 4.6.2 and I want to print a QWidget using render method that requires a QPainter.
    It prints badly (fonts are treated like graphics) and not as text. In the Pdf file, fonts are not included.

    Whereas in Qt 4.4.0, the render method on QWidget displays correctly (fonts are included in the resulting pdf file).

    Is there something changed between the 2 versions of QT. What can I do to resolve the problem ?

Log in to reply