D' you mean to use qDebug to see if pixmap.isNull() ?