Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package qt6-location for openSUSE:Factory checked in at 2026-08-21 16:50:51 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/qt6-location (Old) and /work/SRC/openSUSE:Factory/.qt6-location.new.1258 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "qt6-location" Fri Aug 21 16:50:51 2026 rev:27 rq:1372245 version:6.11.2 Changes: -------- --- /work/SRC/openSUSE:Factory/qt6-location/qt6-location.changes 2026-05-28 17:25:37.084437904 +0200 +++ /work/SRC/openSUSE:Factory/.qt6-location.new.1258/qt6-location.changes 2026-08-21 16:51:46.386667818 +0200 @@ -1,0 +2,6 @@ +Tue Aug 18 11:48:46 UTC 2026 - Christophe Marin <[email protected]> + +- Update to 6.11.2 + https://www.qt.io/blog/qt-6.11.2-released + +------------------------------------------------------------------- Old: ---- qtlocation-everywhere-src-6.11.1.tar.xz New: ---- qtlocation-everywhere-src-6.11.2.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ qt6-location.spec ++++++ --- /var/tmp/diff_new_pack.etoUAt/_old 2026-08-21 16:51:47.424704729 +0200 +++ /var/tmp/diff_new_pack.etoUAt/_new 2026-08-21 16:51:47.427704835 +0200 @@ -16,7 +16,7 @@ # -%define real_version 6.11.1 +%define real_version 6.11.2 %define short_version 6.11 %define tar_name qtlocation-everywhere-src %define tar_suffix %{nil} @@ -30,7 +30,7 @@ %global __requires_exclude qt6qmlimport\\(MapViewer\\) # Name: qt6-location%{?pkg_suffix} -Version: 6.11.1 +Version: 6.11.2 Release: 0 Summary: Qt 6 Location plugins and libraries License: GPL-3.0-or-later ++++++ qtlocation-everywhere-src-6.11.1.tar.xz -> qtlocation-everywhere-src-6.11.2.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qtlocation-everywhere-src-6.11.1/.cmake.conf new/qtlocation-everywhere-src-6.11.2/.cmake.conf --- old/qtlocation-everywhere-src-6.11.1/.cmake.conf 2026-05-08 04:18:41.000000000 +0200 +++ new/qtlocation-everywhere-src-6.11.2/.cmake.conf 2026-08-12 04:55:33.000000000 +0200 @@ -1,9 +1,10 @@ -set(QT_REPO_MODULE_VERSION "6.11.1") +set(QT_REPO_MODULE_VERSION "6.11.2") set(QT_REPO_MODULE_PRERELEASE_VERSION_SEGMENT "alpha1") set(QT_EXTRA_INTERNAL_TARGET_DEFINES "QT_NO_CONTEXTLESS_CONNECT=1" "QT_NO_FOREACH=1" "QT_NO_QASCONST=1" + "QT_NO_SINGLE_ARGUMENT_QHASH_OVERLOAD=1" "QT_NO_URL_CAST_FROM_STRING=1" ) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qtlocation-everywhere-src-6.11.1/.tag new/qtlocation-everywhere-src-6.11.2/.tag --- old/qtlocation-everywhere-src-6.11.1/.tag 2026-05-08 04:18:41.000000000 +0200 +++ new/qtlocation-everywhere-src-6.11.2/.tag 2026-08-12 04:55:33.000000000 +0200 @@ -1 +1 @@ -25f12216c53d62c0338dace313c484dd24ee918a +709ecccbd647ffa25545e0886be59001d0266e88 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qtlocation-everywhere-src-6.11.1/dependencies.yaml new/qtlocation-everywhere-src-6.11.2/dependencies.yaml --- old/qtlocation-everywhere-src-6.11.1/dependencies.yaml 2026-05-08 04:18:41.000000000 +0200 +++ new/qtlocation-everywhere-src-6.11.2/dependencies.yaml 2026-08-12 04:55:33.000000000 +0200 @@ -1,10 +1,10 @@ dependencies: ../qtbase: - ref: 59c81a3c2247b821b9b84b4eb8d939b77e07e276 + ref: ef55f427f2c8b410d34f8a7681020a3000cf6866 required: true ../qtdeclarative: - ref: a02bed441965ee1f18f856352c7d5ee5ba35d795 + ref: 4e3399c26ec57246c08de019cfcbda8d23604cfa required: true ../qtpositioning: - ref: 7ea5b529ea34b7baaeea5edfe0a1a6410bd14536 + ref: f68ed52ba071c8c7030810ee91fdd186b7d9d9f7 required: true diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qtlocation-everywhere-src-6.11.1/examples/location/geojson_viewer/doc/src/geojson_viewer.qdoc new/qtlocation-everywhere-src-6.11.2/examples/location/geojson_viewer/doc/src/geojson_viewer.qdoc --- old/qtlocation-everywhere-src-6.11.1/examples/location/geojson_viewer/doc/src/geojson_viewer.qdoc 2026-05-08 04:18:41.000000000 +0200 +++ new/qtlocation-everywhere-src-6.11.2/examples/location/geojson_viewer/doc/src/geojson_viewer.qdoc 2026-08-12 04:55:33.000000000 +0200 @@ -10,7 +10,8 @@ \brief The GeoJson viewer example demonstrates how to manipulate MapItems, handle user input and I/O to and from a GeoJson file. - \image geojson_viewer.png + \image geojson_viewer.png {Map of Europe with a + polygon and a polyline overlay} The example displays a map with various MapItems. The MapItems are either imported from a GeoJson file, using the \l {GeoJsonData} API of \l {QtLocation} or drawn by the user using diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qtlocation-everywhere-src-6.11.1/examples/location/itemview_transitions/doc/src/itemview_transitions.qdoc new/qtlocation-everywhere-src-6.11.2/examples/location/itemview_transitions/doc/src/itemview_transitions.qdoc --- old/qtlocation-everywhere-src-6.11.1/examples/location/itemview_transitions/doc/src/itemview_transitions.qdoc 2026-05-08 04:18:41.000000000 +0200 +++ new/qtlocation-everywhere-src-6.11.2/examples/location/itemview_transitions/doc/src/itemview_transitions.qdoc 2026-08-12 04:55:33.000000000 +0200 @@ -7,7 +7,8 @@ \ingroup qtlocation-examples \examplecategory {Positioning & Location} \brief How to use transitions together with MapItemView. -\image itemview_transitions.jpg +\image itemview_transitions.jpg {Map of the Oslo region with + administrative district polygons and a marker near Asker} \e {MapItemView Transitions} demonstrates how to use the \l{Map} item to render a map. It shows the minimum amount of code needed to display the map, and can be used diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qtlocation-everywhere-src-6.11.1/examples/location/mapviewer/doc/src/mapviewer.qdoc new/qtlocation-everywhere-src-6.11.2/examples/location/mapviewer/doc/src/mapviewer.qdoc --- old/qtlocation-everywhere-src-6.11.1/examples/location/mapviewer/doc/src/mapviewer.qdoc 2026-05-08 04:18:41.000000000 +0200 +++ new/qtlocation-everywhere-src-6.11.2/examples/location/mapviewer/doc/src/mapviewer.qdoc 2026-08-12 04:55:33.000000000 +0200 @@ -11,7 +11,7 @@ \brief The Map Viewer example shows how to display and interact with a map, search for an address, and find driving directions. - \image mapviewer.png + \image mapviewer.png {Map of Oslo with a marker labeled "The Qt Company"} This is a large example covering many basic uses of maps, positioning, and navigation services in Qt Location. This page is divided into sections diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qtlocation-everywhere-src-6.11.1/examples/location/minimal_map/doc/src/minimal_map.qdoc new/qtlocation-everywhere-src-6.11.2/examples/location/minimal_map/doc/src/minimal_map.qdoc --- old/qtlocation-everywhere-src-6.11.1/examples/location/minimal_map/doc/src/minimal_map.qdoc 2026-05-08 04:18:41.000000000 +0200 +++ new/qtlocation-everywhere-src-6.11.2/examples/location/minimal_map/doc/src/minimal_map.qdoc 2026-08-12 04:55:33.000000000 +0200 @@ -8,7 +8,7 @@ \examplecategory {Positioning & Location} \brief The minimum code to display a map using Qt Quick. -\image minimal_map.png +\image minimal_map.png {Application window showing a map of central Oslo} \e {Minimal Map} demonstrates how to use the \l{Map} item to render a map. It shows the minimum amount of code needed to display the map, and can be used diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qtlocation-everywhere-src-6.11.1/examples/location/places/doc/src/places.qdoc new/qtlocation-everywhere-src-6.11.2/examples/location/places/doc/src/places.qdoc --- old/qtlocation-everywhere-src-6.11.1/examples/location/places/doc/src/places.qdoc 2026-05-08 04:18:41.000000000 +0200 +++ new/qtlocation-everywhere-src-6.11.2/examples/location/places/doc/src/places.qdoc 2026-08-12 04:55:33.000000000 +0200 @@ -9,7 +9,8 @@ \brief The Places example demonstrates how to search for Places and access related content. - \image places.png + \image places.png {Places example with a search box and a map of Oslo + showing a marker labeled "The Qt Company"} The Places example demonstrates how to search for Places. In particular it shows how further information such as reviews, images and related content can be retrieved. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qtlocation-everywhere-src-6.11.1/examples/location/places_list/doc/src/places_list.qdoc new/qtlocation-everywhere-src-6.11.2/examples/location/places_list/doc/src/places_list.qdoc --- old/qtlocation-everywhere-src-6.11.1/examples/location/places_list/doc/src/places_list.qdoc 2026-05-08 04:18:41.000000000 +0200 +++ new/qtlocation-everywhere-src-6.11.2/examples/location/places_list/doc/src/places_list.qdoc 2026-08-12 04:55:33.000000000 +0200 @@ -7,7 +7,7 @@ \ingroup qtlocation-examples \examplecategory {Positioning & Location} \brief The Places List example demonstrates how to search for and display a list of places using a \l ListView. - \image places_list.png + \image places_list.png {Numbered list of pizza places with addresses} \include examples-run.qdocinc diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qtlocation-everywhere-src-6.11.1/examples/location/places_map/doc/src/places_map.qdoc new/qtlocation-everywhere-src-6.11.2/examples/location/places_map/doc/src/places_map.qdoc --- old/qtlocation-everywhere-src-6.11.1/examples/location/places_map/doc/src/places_map.qdoc 2026-05-08 04:18:41.000000000 +0200 +++ new/qtlocation-everywhere-src-6.11.2/examples/location/places_map/doc/src/places_map.qdoc 2026-08-12 04:55:33.000000000 +0200 @@ -8,7 +8,7 @@ \examplecategory {Positioning & Location} \brief The Places Map example demonstrates how to search for and display a list of places on a map using a MapItemView. - \image places_map.png + \image places_map.png {Map with several labeled markers for pizza places} The example displays a map of the current location or, if no position is available, it uses Oslo/Norway. Subsequently a search for places diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qtlocation-everywhere-src-6.11.1/examples/location/planespotter/doc/src/planespotter.qdoc new/qtlocation-everywhere-src-6.11.2/examples/location/planespotter/doc/src/planespotter.qdoc --- old/qtlocation-everywhere-src-6.11.1/examples/location/planespotter/doc/src/planespotter.qdoc 2026-05-08 04:18:41.000000000 +0200 +++ new/qtlocation-everywhere-src-6.11.2/examples/location/planespotter/doc/src/planespotter.qdoc 2026-08-12 04:55:33.000000000 +0200 @@ -9,7 +9,8 @@ \brief The \c {Plane Spotter} example demonstrates the tight integration of location and positioning data types into QML. - \image planespotter.png + \image planespotter.png {Map of northern Europe with two plane + markers labeled "QML" and "C++"} The \c {Plane Spotter} example demonstrates how to integrate location and positioning related C++ data types into QML and vice versa. This is useful when it is desirable to diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qtlocation-everywhere-src-6.11.1/src/location/doc/qtlocation.qdocconf new/qtlocation-everywhere-src-6.11.2/src/location/doc/qtlocation.qdocconf --- old/qtlocation-everywhere-src-6.11.1/src/location/doc/qtlocation.qdocconf 2026-05-08 04:18:41.000000000 +0200 +++ new/qtlocation-everywhere-src-6.11.2/src/location/doc/qtlocation.qdocconf 2026-08-12 04:55:33.000000000 +0200 @@ -76,6 +76,9 @@ # Enforce zero documentation warnings warninglimit = 0 +# Report warnings for images without alt text +reportmissingalttextforimages = true + # Supress all warnings for members that are documented, but # their parents are not. This leads to 'No output generated for...' # warnings, for every such member documentation. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qtlocation-everywhere-src-6.11.1/src/location/doc/src/places.qdoc new/qtlocation-everywhere-src-6.11.2/src/location/doc/src/places.qdoc --- old/qtlocation-everywhere-src-6.11.1/src/location/doc/src/places.qdoc 2026-05-08 04:18:41.000000000 +0200 +++ new/qtlocation-everywhere-src-6.11.2/src/location/doc/src/places.qdoc 2026-08-12 04:55:33.000000000 +0200 @@ -100,7 +100,7 @@ \li \snippet places_list/places_list.qml Places ListView \li - \inlineimage places_list.png + \inlineimage places_list.png {Numbered list of pizza places} \endtable \note For simplicty's sake we have assumed that every search result is of @@ -130,7 +130,7 @@ \li \snippet places_map/PlacesMap.qml Places MapItemView \li - \inlineimage places_map.png + \inlineimage places_map.png {Map with labeled place markers} \endtable \note For simplicty's sake we have assumed that every search result is of diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qtlocation-everywhere-src-6.11.1/src/location/maps/qgeofiletilecache.cpp new/qtlocation-everywhere-src-6.11.2/src/location/maps/qgeofiletilecache.cpp --- old/qtlocation-everywhere-src-6.11.1/src/location/maps/qgeofiletilecache.cpp 2026-05-08 04:18:41.000000000 +0200 +++ new/qtlocation-everywhere-src-6.11.2/src/location/maps/qgeofiletilecache.cpp 2026-08-12 04:55:33.000000000 +0200 @@ -275,22 +275,32 @@ QDir dir(directory_); dir.setNameFilters(QStringList() << QLatin1String("*-*-*-*.*")); dir.setFilter(QDir::Files); - for (const QString &dirFile : dir.entryList()) { + const auto entries = dir.entryList(); + for (const QString &dirFile : entries) { dir.remove(dirFile); } } void QGeoFileTileCache::clearMapId(const int mapId) { - for (const QGeoTileSpec &k : diskCache_.keys()) - if (k.mapId() == mapId) - diskCache_.remove(k, true); - for (const QGeoTileSpec &k : memoryCache_.keys()) - if (k.mapId() == mapId) - memoryCache_.remove(k); - for (const QGeoTileSpec &k : textureCache_.keys()) - if (k.mapId() == mapId) - textureCache_.remove(k); + { + const auto keys = diskCache_.keys(); + for (const QGeoTileSpec &k : keys) + if (k.mapId() == mapId) + diskCache_.remove(k, true); + } + { + const auto keys = memoryCache_.keys(); + for (const QGeoTileSpec &k : keys) + if (k.mapId() == mapId) + memoryCache_.remove(k); + } + { + const auto keys = textureCache_.keys(); + for (const QGeoTileSpec &k : keys) + if (k.mapId() == mapId) + textureCache_.remove(k); + } // TODO: It seems the cache leaves residues, like some tiles do not get picked up. // After the above calls, files that shouldnt be left behind are still on disk. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qtlocation-everywhere-src-6.11.1/src/location/quickmapitems/qdeclarativecirclemapitem.cpp new/qtlocation-everywhere-src-6.11.2/src/location/quickmapitems/qdeclarativecirclemapitem.cpp --- old/qtlocation-everywhere-src-6.11.1/src/location/quickmapitems/qdeclarativecirclemapitem.cpp 2026-05-08 04:18:41.000000000 +0200 +++ new/qtlocation-everywhere-src-6.11.2/src/location/quickmapitems/qdeclarativecirclemapitem.cpp 2026-08-12 04:55:33.000000000 +0200 @@ -74,7 +74,7 @@ } \endcode - \image api-mapcircle.png + \image api-mapcircle.png {Green circle on a map} */ /*! diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qtlocation-everywhere-src-6.11.1/src/location/quickmapitems/qdeclarativegeomap.cpp new/qtlocation-everywhere-src-6.11.2/src/location/quickmapitems/qdeclarativegeomap.cpp --- old/qtlocation-everywhere-src-6.11.1/src/location/quickmapitems/qdeclarativegeomap.cpp 2026-05-08 04:18:41.000000000 +0200 +++ new/qtlocation-everywhere-src-6.11.2/src/location/quickmapitems/qdeclarativegeomap.cpp 2026-08-12 04:55:33.000000000 +0200 @@ -114,7 +114,7 @@ \skipto Plugin \printuntil - \image minimal_map.png + \image minimal_map.png {Map item centered on Oslo at zoom level 14} */ /*! diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qtlocation-everywhere-src-6.11.1/src/location/quickmapitems/qdeclarativegeomapitemgroup.cpp new/qtlocation-everywhere-src-6.11.2/src/location/quickmapitems/qdeclarativegeomapitemgroup.cpp --- old/qtlocation-everywhere-src-6.11.1/src/location/quickmapitems/qdeclarativegeomapitemgroup.cpp 2026-05-08 04:18:41.000000000 +0200 +++ new/qtlocation-everywhere-src-6.11.2/src/location/quickmapitems/qdeclarativegeomapitemgroup.cpp 2026-08-12 04:55:33.000000000 +0200 @@ -102,7 +102,8 @@ } \endcode - \image api-mapitemgroup.png + \image api-mapitemgroup.png {Overlapping red and green polygons + drawn on a map of Iceland} */ QDeclarativeGeoMapItemGroup::QDeclarativeGeoMapItemGroup(QQuickItem *parent) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qtlocation-everywhere-src-6.11.1/src/location/quickmapitems/qdeclarativegeomapquickitem.cpp new/qtlocation-everywhere-src-6.11.2/src/location/quickmapitems/qdeclarativegeomapquickitem.cpp --- old/qtlocation-everywhere-src-6.11.1/src/location/quickmapitems/qdeclarativegeomapquickitem.cpp 2026-05-08 04:18:41.000000000 +0200 +++ new/qtlocation-everywhere-src-6.11.2/src/location/quickmapitems/qdeclarativegeomapquickitem.cpp 2026-08-12 04:55:33.000000000 +0200 @@ -81,7 +81,7 @@ \snippet mapviewer/map/Marker.qml mqi-closeimage \snippet mapviewer/map/Marker.qml mqi-close - \image api-mapquickitem.png + \image api-mapquickitem.png {Marker rendered as a teardrop pin on a map} */ /*! @@ -134,7 +134,8 @@ for the value of their anchorPoint properties. The values of anchorPoint for each are written on top of the item. - \image api-mapquickitem-anchor.png + \image api-mapquickitem-anchor.png {Three markers on a map showing + the effect of different anchor points} */ void QDeclarativeGeoMapQuickItem::setCoordinate(const QGeoCoordinate &coordinate) { diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qtlocation-everywhere-src-6.11.1/src/location/quickmapitems/qdeclarativepolygonmapitem.cpp new/qtlocation-everywhere-src-6.11.2/src/location/quickmapitems/qdeclarativepolygonmapitem.cpp --- old/qtlocation-everywhere-src-6.11.1/src/location/quickmapitems/qdeclarativepolygonmapitem.cpp 2026-05-08 04:18:41.000000000 +0200 +++ new/qtlocation-everywhere-src-6.11.2/src/location/quickmapitems/qdeclarativepolygonmapitem.cpp 2026-08-12 04:55:33.000000000 +0200 @@ -73,7 +73,7 @@ } \endcode - \image api-mappolygon.png + \image api-mappolygon.png {Green triangle on a map} */ /*! diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qtlocation-everywhere-src-6.11.1/src/location/quickmapitems/qdeclarativepolylinemapitem.cpp new/qtlocation-everywhere-src-6.11.2/src/location/quickmapitems/qdeclarativepolylinemapitem.cpp --- old/qtlocation-everywhere-src-6.11.1/src/location/quickmapitems/qdeclarativepolylinemapitem.cpp 2026-05-08 04:18:41.000000000 +0200 +++ new/qtlocation-everywhere-src-6.11.2/src/location/quickmapitems/qdeclarativepolylinemapitem.cpp 2026-08-12 04:55:33.000000000 +0200 @@ -223,7 +223,7 @@ } \endcode - \image api-mappolyline.png + \image api-mappolyline.png {Green polyline on a map} */ /*! diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qtlocation-everywhere-src-6.11.1/src/location/quickmapitems/qdeclarativerectanglemapitem.cpp new/qtlocation-everywhere-src-6.11.2/src/location/quickmapitems/qdeclarativerectanglemapitem.cpp --- old/qtlocation-everywhere-src-6.11.1/src/location/quickmapitems/qdeclarativerectanglemapitem.cpp 2026-05-08 04:18:41.000000000 +0200 +++ new/qtlocation-everywhere-src-6.11.2/src/location/quickmapitems/qdeclarativerectanglemapitem.cpp 2026-08-12 04:55:33.000000000 +0200 @@ -71,7 +71,7 @@ } \endcode - \image api-maprectangle.png + \image api-maprectangle.png {Green rectangle on a map} */ /*! diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qtlocation-everywhere-src-6.11.1/src/plugins/geoservices/osm/qgeofiletilecacheosm.cpp new/qtlocation-everywhere-src-6.11.2/src/plugins/geoservices/osm/qgeofiletilecacheosm.cpp --- old/qtlocation-everywhere-src-6.11.1/src/plugins/geoservices/osm/qgeofiletilecacheosm.cpp 2026-05-08 04:18:41.000000000 +0200 +++ new/qtlocation-everywhere-src-6.11.2/src/plugins/geoservices/osm/qgeofiletilecacheosm.cpp 2026-08-12 04:55:33.000000000 +0200 @@ -84,7 +84,7 @@ // find max mapId int max = 0; - for (auto p: m_providers) + for (auto p: std::as_const(m_providers)) if (p->mapType().mapId() > max) max = p->mapType().mapId(); // Create a mapId to maxTimestamp LUT.. @@ -94,7 +94,7 @@ QDir dir(directory_); QStringList formats; formats << QLatin1String("*.*"); - QStringList files = dir.entryList(formats, QDir::Files); + const QStringList files = dir.entryList(formats, QDir::Files); for (const QString &tileFileName : files) { QGeoTileSpec spec = filenameToTileSpec(tileFileName); @@ -108,7 +108,7 @@ // Base class ::init() QGeoFileTileCache::init(); - for (QGeoTileProviderOsm * p: m_providers) + for (QGeoTileProviderOsm * p: std::as_const(m_providers)) clearObsoleteTiles(p); } @@ -144,21 +144,26 @@ void QGeoFileTileCacheOsm::dropTiles(int mapId) { - QList<QGeoTileSpec> keys; - keys = textureCache_.keys(); - for (const QGeoTileSpec &k : keys) - if (k.mapId() == mapId) - textureCache_.remove(k); - - keys = memoryCache_.keys(); - for (const QGeoTileSpec &k : keys) - if (k.mapId() == mapId) - memoryCache_.remove(k); - - keys = diskCache_.keys(); - for (const QGeoTileSpec &k : keys) - if (k.mapId() == mapId) - diskCache_.remove(k); + { + const QList<QGeoTileSpec> keys = textureCache_.keys(); + for (const QGeoTileSpec &k : keys) + if (k.mapId() == mapId) + textureCache_.remove(k); + } + + { + const QList<QGeoTileSpec> keys = memoryCache_.keys(); + for (const QGeoTileSpec &k : keys) + if (k.mapId() == mapId) + memoryCache_.remove(k); + } + + { + const QList<QGeoTileSpec> keys = diskCache_.keys(); + for (const QGeoTileSpec &k : keys) + if (k.mapId() == mapId) + diskCache_.remove(k); + } } void QGeoFileTileCacheOsm::loadTiles(int mapId) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qtlocation-everywhere-src-6.11.1/src/plugins/geoservices/osm/qgeorouteparserosrmv4.cpp new/qtlocation-everywhere-src-6.11.2/src/plugins/geoservices/osm/qgeorouteparserosrmv4.cpp --- old/qtlocation-everywhere-src-6.11.1/src/plugins/geoservices/osm/qgeorouteparserosrmv4.cpp 2026-05-08 04:18:41.000000000 +0200 +++ new/qtlocation-everywhere-src-6.11.2/src/plugins/geoservices/osm/qgeorouteparserosrmv4.cpp 2026-08-12 04:55:33.000000000 +0200 @@ -355,7 +355,8 @@ query.addQueryItem(QStringLiteral("instructions"), QStringLiteral("true")); - for (const QGeoCoordinate &c : request.waypoints()) { + const auto wayPoints = request.waypoints(); + for (const QGeoCoordinate &c : wayPoints) { query.addQueryItem(QStringLiteral("loc"), QString::number(c.latitude()) + QLatin1Char(',') + QString::number(c.longitude())); } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qtlocation-everywhere-src-6.11.1/src/plugins/geoservices/osm/qgeotiledmappingmanagerengineosm.cpp new/qtlocation-everywhere-src-6.11.2/src/plugins/geoservices/osm/qgeotiledmappingmanagerengineosm.cpp --- old/qtlocation-everywhere-src-6.11.1/src/plugins/geoservices/osm/qgeotiledmappingmanagerengineosm.cpp 2026-05-08 04:18:41.000000000 +0200 +++ new/qtlocation-everywhere-src-6.11.2/src/plugins/geoservices/osm/qgeotiledmappingmanagerengineosm.cpp 2026-08-12 04:55:33.000000000 +0200 @@ -347,7 +347,7 @@ void QGeoTiledMappingManagerEngineOsm::updateMapTypes() { QList<QGeoMapType> mapTypes; - for (QGeoTileProviderOsm * provider : m_providers) { + for (QGeoTileProviderOsm * provider : std::as_const(m_providers)) { // assume provider are ok until they have been resolved invalid if (!provider->isResolved() || provider->isValid()) mapTypes << provider->mapType(); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qtlocation-everywhere-src-6.11.1/src/plugins/geoservices/osm/qgeotileproviderosm.cpp new/qtlocation-everywhere-src-6.11.2/src/plugins/geoservices/osm/qgeotileproviderosm.cpp --- old/qtlocation-everywhere-src-6.11.1/src/plugins/geoservices/osm/qgeotileproviderosm.cpp 2026-05-08 04:18:41.000000000 +0200 +++ new/qtlocation-everywhere-src-6.11.2/src/plugins/geoservices/osm/qgeotileproviderosm.cpp 2026-08-12 04:55:33.000000000 +0200 @@ -154,7 +154,7 @@ if (m_provider && m_provider->isValid()) return; bool found = false; - for (TileProvider *p: m_providerList) { + for (TileProvider *p: std::as_const(m_providerList)) { if (p->isValid() && !found) { m_provider = p; m_providerId = m_providerList.indexOf(p); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qtlocation-everywhere-src-6.11.1/src/plugins/geoservices/osm/qplacemanagerengineosm.cpp new/qtlocation-everywhere-src-6.11.2/src/plugins/geoservices/osm/qplacemanagerengineosm.cpp --- old/qtlocation-everywhere-src-6.11.1/src/plugins/geoservices/osm/qplacemanagerengineosm.cpp 2026-05-08 04:18:41.000000000 +0200 +++ new/qtlocation-everywhere-src-6.11.2/src/plugins/geoservices/osm/qplacemanagerengineosm.cpp 2026-08-12 04:55:33.000000000 +0200 @@ -128,7 +128,8 @@ if (!request.searchTerm().isEmpty()) queryParts.append(request.searchTerm()); - for (const QPlaceCategory &category : request.categories()) { + const auto categoriesList = request.categories(); + for (const QPlaceCategory &category : categoriesList) { QString id = category.categoryId(); queryParts.append(QLatin1Char('[') + id + QLatin1Char(']')); } @@ -208,7 +209,8 @@ QList<QPlaceCategory> QPlaceManagerEngineOsm::childCategories(const QString &parentId) const { QList<QPlaceCategory> categories; - for (const QString &id : m_subcategories.value(parentId)) + const QStringList subcategoriesList = m_subcategories.value(parentId); + for (const QString &id : subcategoriesList) categories.append(m_categories.value(id)); return categories; } @@ -284,14 +286,14 @@ m_categoryLocales.clear(); } - for (QPlaceCategoriesReplyOsm *reply : m_pendingCategoriesReply) + for (QPlaceCategoriesReplyOsm *reply : std::as_const(m_pendingCategoriesReply)) reply->emitFinished(); m_pendingCategoriesReply.clear(); } void QPlaceManagerEngineOsm::categoryReplyError() { - for (QPlaceCategoriesReplyOsm *reply : m_pendingCategoriesReply) + for (QPlaceCategoriesReplyOsm *reply : std::as_const(m_pendingCategoriesReply)) reply->setError(QPlaceReply::CommunicationError, tr("Network request error")); }
