QT消息QMessageBox打开网址超链接

QString msg = "BUG Reporting:<a href='https://github.com/xuronghua2001/xxx/issues'>Github</a><br>Update:<a href='https://download.csdn.net/download/duckSoup_2001/xxx'>CSDN</a><br>E-mail:xuronghua2001@outlook.com" ;
QMessageBox::about(nullptr,"关于",msg);

QT消息QMessageBox打开网址超链接

参考Python QMessageBox new line '\n' and link broken - Stack Overflow

 

上一篇:Qt 5种标准对话框及使用方法详解 QFileDialog、QcolorDialog、QFontDialog、QinputDialog、QMessageBox


下一篇:76.QMessageBox