Details
-
Bug
-
Resolution: Fixed
-
P1: Critical
-
5.15.0 Beta1
-
None
-
-
50d2acdc93b4de2ba56eb67787e2bdcb21dd4bea
Description
Because of the deprecation of the QPainterPath methods using a QMatrix as parameter the following application code runs into compiler errors:
const auto ... = path.toSubpathPolygons();
error: no matching function for call to ‘QPainterPath::toSubpathPolygons() const’
note: candidate: ‘QList<QPolygonF> QPainterPath::toSubpathPolygons(const QTransform&) const’
So we have code that does not compile anymore without being guilty of using the deprecated QMatrix.
The expected API would be to have something like:
... toSubpathPolygons( const QTransform& = QTransform() ) const;