Introduce variants of renderTo that return a QImage and do not use a QPixmap so threading is possible.