Add subpath methods into QCPainterPath


API checking revealed that QCPainterPath was missing beginHoleSubPath()
and beginSolidSubPath() methods. Add them to match with the
QCPainter API.

Pick-to: 6.11
Change-Id: I8e19a66e82e8485bf4d150b2a25ce2136dc0e3db
Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io>
commitec25b41eff6ed0a6f1a4b67f9d2e2c869e53bc67
parent57252af3b36ff20c37a8cc381bd3851b77459168
authorKaj Grönholm <kaj.gronholm@qt.io>
committerKaj Grönholm <kaj.gronholm@qt.io>
commit timeMon, 5 Jan 2026 13:52:57 +0200