Silence build warnings, fix build errors
Replace various deprecated APIs with their supported Qt 6 versions.
Most notably, replace QScopedPointer with std::unique_ptr, as the
code frequently use deprecated QScopedPointer::swap.
Change-Id: If9cb0be89423fd310073709eb390401d74240153
Reviewed-by: Ivan Solovev <ivan.solovev@qt.io>
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
| commit | a0ed5f9f9c8acf1b4b631b69774ac67ac37739bc |
| parent | 5164413d711409c64f153a2049d587580b15fe5e |
| author | Volker Hilsheimer <volker.hilsheimer@qt.io> |
| committer | Volker Hilsheimer <volker.hilsheimer@qt.io> |
| commit time | Thu, 16 Jun 2022 16:08:59 +0200 |
- M examples/location/mapviewer/mapviewer.pro
- M src/location/declarativemaps/qdeclarativecirclemapitem.cpp
- M src/location/declarativemaps/qdeclarativecirclemapitem_p.h
- M src/location/declarativemaps/qdeclarativegeomap.cpp
- M src/location/declarativemaps/qdeclarativegeomapcopyrightsnotice.cpp
- M src/location/declarativemaps/qdeclarativegeomapitembase_p.h
- M src/location/declarativemaps/qdeclarativegeomapitemgroup_p.h
- M src/location/declarativemaps/qdeclarativegeomapitemview.cpp
- M src/location/declarativemaps/qdeclarativepolygonmapitem.cpp
- M src/location/declarativemaps/qdeclarativepolygonmapitem_p.h
- M src/location/declarativemaps/qdeclarativepolylinemapitem.cpp
- M src/location/declarativemaps/qdeclarativepolylinemapitem_p.h
- M src/location/declarativemaps/qdeclarativerectanglemapitem.cpp
- M src/location/declarativemaps/qdeclarativerectanglemapitem_p.h
- M src/location/declarativemaps/qquickgeomapgesturearea.cpp
- M src/location/labs/qdeclarativenavigator.cpp
- M src/location/labs/qdeclarativenavigator_p.h
- M src/location/labs/qdeclarativenavigator_p_p.h
- M src/location/labs/qsg/qmapcircleobjectqsg.cpp
- M src/location/labs/qsg/qmapcircleobjectqsg_p_p.h
- M src/location/labs/qsg/qmaprouteobjectqsg.cpp
- M src/location/labs/qsg/qmaprouteobjectqsg_p_p.h
- M src/location/maps/qgeocameratiles.cpp
- M src/location/maps/qgeocameratiles_p.h
- M src/location/maps/qgeocameratiles_p_p.h
- M src/location/maps/qgeoroute.cpp
- M src/location/maps/qgeoroute_p.h
- M src/location/maps/qgeorouteparserosrmv5.cpp
- M src/location/maps/qgeoserviceprovider.cpp
- M src/location/maps/qgeotiledmapscene.cpp
- M src/location/maps/qgeotilerequestmanager_p.h
- M src/location/maps/qnavigationmanagerengine_p.h
- M src/plugins/geoservices/esri/georoutejsonparser_esri.cpp
- M src/plugins/geoservices/esri/placemanagerengine_esri.cpp
- M src/plugins/geoservices/mapbox/qgeocodereplymapbox.cpp
- M src/plugins/geoservices/mapbox/qgeoroutingmanagerenginemapbox.cpp
- M src/plugins/geoservices/mapbox/qmapboxcommon.cpp
- M src/plugins/geoservices/mapbox/qplacesearchreplymapbox.cpp
- M src/plugins/geoservices/mapbox/qplacesearchsuggestionreplymapbox.cpp
- M src/plugins/geoservices/mapboxgl/qsgmapboxglnode.h
- M src/plugins/geoservices/nokia/qgeocodejsonparser.cpp
- M src/plugins/geoservices/osm/qgeotileproviderosm.cpp
- M tests/auto/geotestplugin/qgeotilefetcher_test.h
- M tests/auto/qgeotiledmap/tst_qgeotiledmap.cpp
- M tests/auto/qmlinterface/tst_qmlinterface.cpp