On Tue, 28 Sep 2010, pmqt71 wrote: > Hi, > > I would like to draw an icon using QPainter. > > Because QPainter has a *drawImage* method but not a *drawIcon*, I need to > convert QIcon to QImage. > > some help? Use QIcon::pixmap() to get a QPixmap of the icon, and use QPainter::drawPixmap(). -gabriel