[PyQt] QTextDocument problem rendering HTML

Gustavo A. Díaz gustavo.diaz at gmail.com
Thu Sep 3 04:05:38 BST 2009


Hi guys,

I am having problems trying to render HTML in QTextDocument (which i use for
printing later with QPrinter, QPrintDialog, QPrintPreviewDialog)
This renders very well:
http://artistic.lnxteam.org/downloads/pub/OC_receipt/test2.html
But this one, just render the content without any css style:
http://artistic.lnxteam.org/downloads/pub/OC_receipt/test1.html

Does QTextDocument has limited support for css or html content?

Thanks.

-- 
Gustavo A. Díaz
GDNet Projects
www.gdnet.com.ar
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20090903/73f0e11f/attachment.html


More information about the PyQt mailing list