Try using a QLabel and use QLabel::setTextInteractionFlags() with Qt::TextBrowserInteraction. If it doesn't give you what you want, use QTextBrowser or QTextEdit instead but don't delete it when leaving its borders - instead remove its frame so that it looks like an ordinary text. Or you can even have the frame removed all the time. QTextEdit has QFrame as its ancesstor so you can manipulate its frame shape.
Bookmarks