connect(label, SIGNAL(linkActivated(const QString &)), this, SLOT(link(const QString &)));void TestDialog::link(const QString &qsLink){ QDesktopServices::openUrl(QUrl(qsLink));}
QLabel *lbl = new QLabel("<A HREF=\"LINK\">http://www.prog.org.ru</A>"); lbl->setOpenExternalLinks(true);
QLabel *lbl = new QLabel("<A HREF=\"LINK\">http://www.prog.org.ru</A>"); connect(lbl, SIGNAL(linkActivated(const QString &)), this, SLOT(link(const QString &)));void StartDialog::link(const QString &qsLink){ QDesktopServices::openUrl(QUrl(qsLink));}
HTML<a href=\"http://www.prog.org.ru\">http://www.prog.org.ru</a>