Unsolved How QPainterPath clear before 5.13
-
https://doc.qt.io/qt-5/qpainterpath.html#clear
void QPainterPath::clear()
Clears the path elements stored.
This allows the path to reuse previous memory allocations.
This function was introduced in Qt 5.13. -
path = QPainterPath();