[webkit-qt] QTWebkit capabilities

Ariya Hidayat ariya.hidayat at gmail.com
Sun Aug 29 22:12:30 PDT 2010


> I even dried capturing the whole desktop as follows
> QPixmap pixmap =
> QPixmap::grabWindow(QApplication::desktop()->winId(),0,0,-1,-1);
> painter.begin(&pixmap);
> mainFrame->render(&painter);
> painter.end();

Why would you overdraw the captured pixmap with the rendering of the
frame? That feels incredibly wrong to me.
The screen capture example included with Qt, see
examples/desktop/screenshot in your Qt source tree, seems to be able
to capture entire screen pretty well, including (if any) Flash
contents.


Regards,

Ariya


More information about the webkit-qt mailing list