[Qt-qml] WebView printing
Girish Ramakrishnan
girish at forwardbias.in
Wed Dec 22 08:06:30 CET 2010
On Wednesday 22 December 2010 12:46 AM, Michael wrote:
> Hallo,
>
> How do i Print from qml WebView ? There is no Print() Funktion like in QWebView of QTWebkit.
>
There's no way to do this using WebView.
WebView uses QGraphicsWebView internally and the QGraphicsView is a
child of the WebView item. If you are fine with relying on this
implementation detail, then use qFindChildren in C++ to get hold of the
Webpage.
The other way is to write your own wrapper on QWebView. For that, I
would suggest you fork QDeclarativeWebView.
Girish
More information about the Qt-qml
mailing list