I'm talking about this
Qt Code:
  1. ....
  2. QPixmap pixmap(width, height);
  3. pixmap.fill(Qt::red);
  4. QIcon icon(pixmap);
  5. ...
To copy to clipboard, switch view to plain text mode