[Qt-interest] Qt 4.5.1: printing to PDF on Mac broken?
Paul Miller
paul at fxtech.com
Tue Oct 20 15:21:53 CEST 2009
R. Reucher wrote:
> On Mon, 19 Oct 2009 10:01:23 -0500, Paul Miller wrote:
>> Paul Miller wrote:
>>> I've got an app that can print to PDF - on Windows it works as expected
>>> but on Mac it prints out a bunch of "empty" pages, then messes up the
>>> QPrinter so the next time it is used for a preview the preview is also
>>> messed up.
>> I should add I am printing a QWebPage. Previews work fine, until I try
>> to print to PDF, using Qt's PDF output format.
> I can't say if there's a problem on Mac OS X, and I'm no Mac user/
> developer either, but I'd recommend to try a newer versions first. There
> are probably many differences, and a potential bug may have been fixed
> already.
>
> Regarding QtWebKit, I've seen a lot of fixes between 4.5.1 and 4.5.3, and
> it's still acting a bit differently on UNIX and Windows for example. I
> have never tried to print QWebPage's, though.
I looked through the changes for 4.5.2 and 4.5.3 and none of them were
related to PDF. What I ended up doing is just disabling my own PDF
printing options on Mac, since the Mac print dialog already does its PDF
output. That part works fine.
--
Paul Miller | paul at fxtech.com | www.fxtech.com | Got Tivo?
More information about the Qt-interest-old
mailing list