Add QGeoPathPrivateBase


As a base class for QGeoPathPrivate and QGeoPolygonPrivate.

Previously QGeoPolygonPrivate was derived from QGeoPathPrivate, but did
not use its m_width member variable.

With the current approach, the width-related code belongs to
QGeoPathPrivate only, and the common code is moved into the Base class.

The refactoring also revealed that there are no derived classes that
need to override width-related methods of QGeoPathPrivate, so they can
be non-virtual.

Task-number: QTBUG-144769
Pick-to: 6.11 6.10 6.8 6.5
Change-Id: I361faadeb261374ff431d258f6ed9d28317777cd
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
commitaf97346aa46ccd8fbc275275aae5a9d41be7d4ff
parent4325bd1762a1effd675fa2357113318afe66d3a6
authorIvan Solovev <ivan.solovev@qt.io>
committerIvan Solovev <ivan.solovev@qt.io>
commit timeMon, 16 Mar 2026 10:12:25 +0100