Ok, sounds good, but , I'm sorry but all I can manage is to make a transparent pixmap of the right size!
Qt Code:
  1. func(QString text)
  2. {
  3. QPixmap pixmap(QPixmap::grabWidget ( this ));//just to get the right size
  4. pixmap.fill ( Qt::transparent );//ok, now I have a transparent pixmap
  5.  
  6. //draw text onto the pixmap ??? how??
  7.  
  8. QBitmap bmp(QBitmap::fromImage(pixmap.toImage()));//is this the only way from QPixmap to QBitmap?
  9.  
  10. QBitmap mask(pixmap.mask());//what mask will this give me??
  11. label->setMask(theMask);
  12. }
To copy to clipboard, switch view to plain text mode 

sorry, I'm a little confused

oh, one more question: why won't pixmap.createMaskFromColor() work?

thanks, for your help
K