16,212
社区成员
发帖
与我相关
我的任务
分享
this->setStyleSheet("background-image: url(bg.png);background-repeat:no-repeat;");
this->setStyleSheet("background-image: url(qrc:/new/prefix1/bg.png);background-repeat:no-repeat;");
this->setStyleSheet("background-image: url(:/image/bg.png);background-repeat:no-repeat;");
image是资源文件夹 。