thnx for reply..
i tried setmask(),but still after using this,i got a black boundary of pushbutton ,when i pressed the qpushbutton....
i write the following code:
Qt Code:
  1. MainWindow::MainWindow(QWidget *parent) : QMainWindow(parent)
  2. {
  3. QPushButton *button_close=new QPushButton(this);
  4. QPixmap image(":/images/but_00.png");
  5. button_close->setGeometry(100,100,image.width(),image.height());
  6. button_close->setFlat(1);
  7. QSize size(image.width(),image.height());
  8. button_close->setIconSize ( size );
  9. button_close->setIcon(image);
  10. button_close->setMask(image.mask());
  11. }
To copy to clipboard, switch view to plain text mode 
Is something wrong in code??
or Is there any other way to do this??
plzz specify..