[cpp] view plain copy QPushButton *bt =new QPushButton(this); bt->setText("ok"); bt->move(200,100); bt->setFlat(true);//就是这句能够实现透明 FROM: http://blog.csdn.net/g457499940/article/details/12192013