diff options
author | Volker Hilsheimer <volker.hilsheimer@qt.io> | 2022-06-10 20:38:50 +0200 |
---|---|---|
committer | Volker Hilsheimer <volker.hilsheimer@qt.io> | 2022-06-16 16:08:59 +0200 |
commit | a0ed5f9f9c8acf1b4b631b69774ac67ac37739bc (patch) | |
tree | 83afaa8ebeb5abd6571b2842f7a68399e652b508 /examples | |
parent | 5164413d711409c64f153a2049d587580b15fe5e (diff) |
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>
Diffstat (limited to 'examples')
-rw-r--r-- | examples/location/mapviewer/mapviewer.pro | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/examples/location/mapviewer/mapviewer.pro b/examples/location/mapviewer/mapviewer.pro index a5cbbecb..a8a868b8 100644 --- a/examples/location/mapviewer/mapviewer.pro +++ b/examples/location/mapviewer/mapviewer.pro @@ -6,8 +6,7 @@ SOURCES += main.cpp # Workaround for QTBUG-38735 QT_FOR_CONFIG += location-private -qtConfig(geoservices_mapboxgl): QT += sql -qtConfig(geoservices_osm): QT += concurrent +QT += concurrent sql RESOURCES += \ mapviewer.qrc |