[PyQt] PyQt5 QPainterPath missing method overload.

Phil Thompson phil at riverbankcomputing.com
Wed Nov 20 19:27:49 GMT 2013


On Wed, 20 Nov 2013 14:19:51 -0500, Chris Colbert <sccolbert at gmail.com>
wrote:
> QPainterPath::toFillPolygon has a 1 argument overload which provides a
> default QMatrix argument. This is not present in PyQt5.
> 
> This line works in v4 but not in v5
> 
> path.toFillPolygon()
> 
> qpainterpath.sip is missing the default argument for this method.

...because QMatrix is obsolete in Qt5. Use QTransform instead.

Phil


More information about the PyQt mailing list