You might try debugging the QImage::load routine and see when it fails. Maybe this gives you an insight how to work it around.