Fix QGeoPolygon::toString() output


The generated string was unconditionally adding a ',' after the last
coordinate. Also, it used ',' in two ways:
* to separate lat and lon elements of the coordinate
* to separate two coordinates

This patch uses "; " to separate coordinates, and also makes sure that
the last coordinate is not followed by any delimiter.

[ChangeLog][QGeoPolygon][Important Behavior Changes] The output of the
QGeoPolygon::toString() method is updated to be more readable. Users
who rely on the old format (e.g. in tests) need to update their code.

Change-Id: I90b7d100b69bd2751810c622bf01d5b06b21cf01
Reviewed-by: Mate Barany <mate.barany@qt.io>
commitda73ce9491e484f8c82b873d5b449d88b3c1862d
parentc234c15fc056f6a312ca1d6b506d6e8d6905dc70
authorIvan Solovev <ivan.solovev@qt.io>
committerIvan Solovev <ivan.solovev@qt.io>
commit timeWed, 16 Apr 2025 09:58:17 +0200