Make pixmap transparent on QPushButton
-
Hello ,
i want to set transparent pixmap on QPushButton. the image that is loaded not transparent.
EX.QImage image("ex.xpm")
QPixmap pix(image.copy(, 0,.width,height));
button.setIcon(pix);here ex.xpm is not transparent. please help me.
-
actually i want to change background of QPixmap image to transparent