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

Ilya Schurov ilya.schurov at noo.ru
Mon Jan 5 22:42:16 CET 2009


Hmm... Still no answer. Maybe, there is a better place to ask such 
questions somewhere? (Unfortunately, I'm not found it yet.)

-- 
Regards,
Ilya V. Schurov.

Ilya Schurov wrote:
> 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!
> 



More information about the Qt-interest-old mailing list