[Qt-interest] HTML links inside QTextBrowser

Eric Clark eclark at ara.com
Tue Jun 16 17:22:53 CEST 2009


Use the QDesktopServices::openUrl function. This function will open any URL in the appropriate default application, as long as it knows how.

Eric

-----Original Message-----
From: qt-interest-bounces at trolltech.com [mailto:qt-interest-bounces at trolltech.com] On Behalf Of Álvaro Morais
Sent: Tuesday, June 16, 2009 11:15 AM
To: qt-interest at trolltech.com
Subject: [Qt-interest] HTML links inside QTextBrowser

Hi!

How can I make HTML links inside QTextBrowser to open the default browser and 
the default email client. 

Thanks.

Álvaro
-- 
Neither Emacs or Vi are my primary editors...
..and I'm not ashamed!!!

_______________________________________________
Qt-interest mailing list
Qt-interest at trolltech.com
http://lists.trolltech.com/mailman/listinfo/qt-interest




More information about the Qt-interest-old mailing list