[Qt-interest] QWebPage: making the signals work

Andre Somers andre at familiesomers.nl
Tue Jun 1 14:48:50 CEST 2010


Hi,

I am trying to use QWebPage to do some HTML rendering that is 
unfortunately slightly too complex for Qt's own rich text processing 
(stylesheets). Using QWebView is not an option in my case; that would be 
too heavy.
The rendering works fine, but now I want the basic interaction to start 
working. QWebPage has some signals like linkHovered, but they don't seem 
to emit. The only examples using QWebPage I can find, render into an 
image. I am rendering onto a widget, just no the whole widget.

How is this scenario supposed to work? In what cases can QWebPage 
actually trigger these signals, or even update it's rendering based on 
style sheet selectors like :hovered?

Thanks for any pointers.

André




More information about the Qt-interest-old mailing list