You can build an array of QLineF using the QPolygonF points and call QLineF::intersect for each line of array.