Just in case anyone else wants to do that: Use a QGraphicsPixmapItem.