Qt World Summit: Register Today!


Convert a QGraphicsTextItem to QPainterPath



  • How do I get the outline/path of QGraphicsTextItem? The shape() function returns a rectangle and opaqueArea() returns an empty path.

    The QGraphicsTextItem may not be simple plain text so I can't just addText to a QPainterPath.

    Any idea?


Log in to reply