[Qt] Printing with WebKit

aime2nice at oqvrai.net aime2nice at oqvrai.net
Mon Sep 7 13:08:02 CEST 2009


Hi,

I use qwebview to display pages Html in my application. This works fine,
in Windows, Linux, Mac OSx (i386 and powerpc). But, when I want print the
content of my qwebview, I have just a blank page, on Windows only.

This is the code I use:
qwebview_print(webview1.handle,webview1.hprinter);

where hprinter is :

hprinter := QPrinter_create();

Why the page is blank on printer?
Have any idea?

Thanks for your help.







More information about the Qt mailing list