Reputation: 39871
Is there a way to add a clickable hyperlink in a Qt Dialog? I.e. it should look like a hyperlink (blue text), and when you click on it, it should open the hyperlink in the browser. Something like that:
Upvotes: 29
Views: 11863
Reputation: 13130
Use QLabel::setOpenExternalLinks(bool)
, and set text on label <a href="yourlink">link text</a>
.
Upvotes: 37