Can't you use QPainter to draw text on the pixmap, before you pass it to QDrag ?