[PyQt] printing html with QTextBrowser on Mac failure

Colin McPhail colin.mcphail at talktalk.net
Sat Aug 1 13:53:22 BST 2009

On 1 Aug 2009, at 12:49, Hans-Peter Jansen wrote:

> Hi,
> attached is a test script, that demonstrates a printing problem on  
> the Mac:
> the HTML document contains a long paragraph, that gets displayed  
> fine, but
> fails to get printed properly, since it prints ranges of charaters  
> above
> each other! I cannot reproduce this on linux.
> I would like to get some confirmation from other PyQt users on the Mac
> before I report this problem to Trolltech.
> Thanks in advance,
> Pete
> Python: 2.6.2
> Qt: 4.5.2
> PyQt: 4.5.4

I am using the same versions of Python, Qt and PyQt as you on Mac OS X  
10.5.7 but your example works OK for me.

I built Qt from sources (qt-mac-opensource-src-4.5.2) rather than  
install a pre-built version, if that makes a difference.


More information about the PyQt mailing list