Bug#528824: libqtgui4: Hyperlinks not working in message boxes
Package: libqtgui4
Version: 4.5.1-2
Severity: normal
With the attached test program, clicking on the hyperlink in the first message
box doesn't do anything, but clicking on the link in the label window does
work. The test program works fine with a local installation of Qt 4.3.5 I had
on my machine.
I also tried the same thing with another (only slightly more complex) example,
where the QMessageBox::information was invoked in response to an existing
button being clicked; it showed the same behavior. Even
QMessageBox::aboutQt()'s hyperlinks weren't working when I tried calling that
instead.
--
Daniel Schepler
#include <QApplication>
#include <QMessageBox>
#include <QLabel>
int main(int argc, char *argv[]) {
QApplication app(argc, argv);
QMessageBox::information(NULL, "Test",
"Welcome to <a href=\"http://www.debian.org/\">"
"Debian</a>!");
QLabel lbl("Using <a href=\"http://www.qtsoftware.com/\">Qt</a>");
lbl.setOpenExternalLinks(true);
lbl.show();
return app.exec();
}
Reply to: