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