方法1.通过setText添加 ui->label->setText("<u>下划线</u>"); 方法2.通过属性添加 来源:CSDN作者:斗转星移3链接:https://blog.csdn.net/lxj362343/article/details/103679726 标签 下划线