View Full Version : QPainter::drawPixmap always produces black on windows?

18th September 2009, 17:42
Hey guys,

I'm trying to make a custom QStyle that makes disabled icons that are different from the Qt4 default. The method works fine on Unix (RHEL and Solaris), but on Windows I get a black pixmap overlay instead of a nice shadow. I've tried forcing the QPainter to use a red pen to draw the pixmap, but it still appears black.

Anybody else run into an issue like this?