gz.helpBtn = new QPushButton(ui->guzhangPage) ;
gz.helpBtn->setStyleSheet("QPushButton{background-image: url(:/image/image/event/2-jinzhi.png);}");

gz.jinzhiBtn = new QPushButton(ui->guzhangPage) ;
gz.jinzhiBtn->setStyleSheet("QPushButton{ border-image: url(:/image/image/event/2-bangzhu.png);}");
gz.jinzhiBtn->setObjectName(QString("jinzhiBtn")+QString::number(index));

效果如图:
效果