Hi all,

I have the following label in which I put a link..

I would like to open the google web site when I click to the text..
How to do it ?

The following code doen not work ...What am I missing?

Qt Code:
  1. QLbel *serverLabel = new QLabel();
  2.  
  3. serverLabel->setText(tr("<a style='color: red;' href='http://www.google.com'>HIT HERE</a>"));
To copy to clipboard, switch view to plain text mode