Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

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