diff --git a/python/PyQt6/core/auto_generated/geometry/qgsgeometry.sip.in b/python/PyQt6/core/auto_generated/geometry/qgsgeometry.sip.in index 1ca0b51d6d3..931d6ce6911 100644 --- a/python/PyQt6/core/auto_generated/geometry/qgsgeometry.sip.in +++ b/python/PyQt6/core/auto_generated/geometry/qgsgeometry.sip.in @@ -16,8 +16,7 @@ typedef QVector QgsPolylineXY; -typedef QgsPointSequence QgsPolyline; - +typedef QVector QgsPolyline; typedef QVector> QgsMultiPolyline; diff --git a/python/core/auto_generated/geometry/qgsgeometry.sip.in b/python/core/auto_generated/geometry/qgsgeometry.sip.in index c25ba0ccd2c..8e46bfa96b0 100644 --- a/python/core/auto_generated/geometry/qgsgeometry.sip.in +++ b/python/core/auto_generated/geometry/qgsgeometry.sip.in @@ -16,8 +16,7 @@ typedef QVector QgsPolylineXY; -typedef QgsPointSequence QgsPolyline; - +typedef QVector QgsPolyline; typedef QVector> QgsMultiPolyline; diff --git a/src/core/geometry/qgsgeometry.h b/src/core/geometry/qgsgeometry.h index ffa4081d83e..8b87e5969a3 100644 --- a/src/core/geometry/qgsgeometry.h +++ b/src/core/geometry/qgsgeometry.h @@ -67,15 +67,18 @@ typedef QVector QgsPolylineXY; * This type has full support for Z/M dimensions. * */ +#ifndef SIP_RUN typedef QgsPointSequence QgsPolyline; - +#else +typedef QVector QgsPolyline; +#endif /** * Multi polyline represented as a vector of polylines. * * This type has full support for Z/M dimensions. * - * \since QGIS 4.0 + * \since QGIS 3.44 */ #ifndef SIP_RUN typedef QVector QgsMultiPolyline;