Code clean-up to be able to compile for Qt 6


Various minor changes about includes and re-definitions, etc, to make the compiler happy.

Leaving QGeoRoutingManager doc sample code Q_OBJECT AutoMoc error for a separate patch.

This is part of a bigger work to port QtLocation maps to Qt6.

Task-number: QTBUG-96795
Change-Id: Ic1d22cec18660a7a01dbafe89f134bdd04574851
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
commitd25bffff3453338405feb4470249998e4622612c
parent92392b471cbcfcf386cd0ba7c99fc4a9297f018a
authorLauri Laanmets <lauri.laanmets@eesti.ee>
committerIvan Solovev <ivan.solovev@qt.io>
commit timeTue, 9 Nov 2021 10:28:38 +0100