[Qt-interest] Widgets embedded in webkit using <object> do not print
Tony Rietwyk
tony.rietwyk at rightsoft.com.au
Wed Jun 30 05:43:43 CEST 2010
Hi Everybody,
I am using Qt 4.6.0 on Win XP. I have created a plugin that displays html including <object> tags. Some of the embedded widgets just use standard widgets in a layout. Another is a QScrollView derived widget with custom painting. This works well when displaying on the screen.
I have been asked to print the html as well. So I used QPrintDialog to setup the QPrinter and QWebView.print( QPrinter * ). This only prints the html, but does not print either form of embedded widgets - the space is just left blank.
This article http://lists.trolltech.com/qt4-preview-feedback/2008-04/thread00041-0.html suggests the problem has been known for at least two years, and obviously still hasn't been fixed by Nokia and / or WebKit developers.
This is bit of a show stopper for us. We have spent months (and lots of $$$) developing content in html and now find we can't print it!
Can Nokia prod WebKit for a firm fix date on this issue?
Thanks,
Tony Rietwyk
More information about the Qt-interest-old
mailing list