Did you try QImage::textKeys() and QImage::text() ?