[Qt-interest] QtWebKit: QWebView printing with backgrounds (setShouldPrintBackgrounds)

Ilya Schurov ilya.schurov at noo.ru
Fri Jan 2 20:07:59 CET 2009


Hi there,

It seems that WebKit have a feature which turns on printing of 
backgrounds (see 
http://lists.apple.com/archives/Webkitsdk-dev/2004/Sep/msg00006.html for 
example). I'm trying to use nice program wkhtmltopdf to convert HTML+CSS 
to PDF using QtWebkit, however it doesn't have such a feature. As far as 
I understand from the discussion here:

http://code.google.com/p/wkhtmltopdf/issues/detail?id=5

this is due to Qt doesn't have a good way to turn it on. The solution 
presented in that discussion looks very simply, however I'm not sure I 
want to re-build my Qt instance to apply that patch and then maintain 
this modified version.

So, I'd like to ask, is that problem already solved in Qt, or is it 
going to be solved, or where should I place a bugreport (feature 
request) to make it solved or where should I ask that question above? :)

Thanks in advance!

-- 
With best regards,
Ilya V. Schurov.



More information about the Qt-interest-old mailing list