QPushButton *bt =
new
QPushButton(
this
);
bt->setText(
"ok"
bt->move(200,100);
bt->setFlat(
true
//就是这句能够实现透明,真是意外的发现,希望对一些学习的朋友有点帮助