[Qt-interest] Trouble with QPrintPreviewWidget

David Boddie david.boddie at nokia.com
Wed Dec 10 16:58:54 CET 2008


David Boddie wrote:

> Just following up, it seems that the preview depends on the resolution of
> the screen, which is counterintuitive given that you would want to paint
> onto the QPrinter using the same commands that you use for the printed
> output.
> 
> I'll file a bug report.

And following up again, your workaround to use QPrinter::HighResolution is
the right thing to do here. The bug appears to be present when using
QPrinter::ScreenResolution. For various reasons, it's preferable to use
QPrinter::HighResolution, anyway, so I suggest you use that instead.

David
-- 
David Boddie
Senior Technical Writer
Nokia, Qt Software



More information about the Qt-interest-old mailing list