QGeoRoutingManager doc example into snippet file


QGeoRoutingManager documentation has and example code with full C++ class. This also contains Q_OBJECT macro. But this macro is checked by AutoMoc (doesn't care if it's in a comment) and gives build error that moc_ file is not included. So, moving this example code into snippet file to get over that.

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

Task-number: QTBUG-96795
Change-Id: I581ed5df55a49ce761423eba3353b683f2e2409b
Reviewed-by: Ivan Solovev <ivan.solovev@qt.io>
commite7af7ba73dfce236ff2627aacd6d261b25b125f4
parent95c9e14357857797c4f4997d40c9df7965e9af5d
authorLauri Laanmets <lauri.laanmets@eesti.ee>
committerIvan Solovev <ivan.solovev@qt.io>
commit timeTue, 9 Nov 2021 10:28:32 +0100