Qt 6.12 LTS is out! See what's new in the release
blog
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.