In that case the problem must lie within the pixmap. Assure that the pixmap is not null, eg. QPixmap::isNull() returns false.