[Qt-interest] QtWebKit: Opening links in external browser

Daniel Vérité daniel.verite at gmail.com
Sun Aug 8 02:56:47 CEST 2010


	 Esdras Beleza writes

> I have a QWebView widget that shows some information rendered in an HTML
> file that is shown inside my application. But I'd like that when user clicks
> a link inside the widget the linked content would be opened using the
> default browser. 
> 
> Is it possible?

Yes, see QWebPage::setLinkDelegationPolicy() and the linkClicked() signal.

Best regards,
-- 
 Daniel Vérité
 PostgreSQL-powered mail user agent and storage: http://www.manitou-mail.org 




More information about the Qt-interest-old mailing list