summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Update dependencies on 'dev' in qt/qtlocationHEADdevQt Submodule Update Bot2023-05-171-3/+3
| | | | | Change-Id: I71fae02d05812bff8dc43d6432b3a0aeb6de41e1 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on 'dev' in qt/qtlocationQt Submodule Update Bot2023-05-111-3/+3
| | | | | Change-Id: Id84e4a1d3bf86745b65f0aed4afb27030235b6c3 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Add the use of the qt_internal_project_setup functionAlexey Edelev2023-05-101-0/+1
| | | | | | | | | The function sets the required CMake variables and policies. Pick-to: 6.5 Task-number: QTBUG-112685 Change-Id: I7dd03ec53ae4eb21fce3f968c0bc773df71f35cc Reviewed-by: Amir Masoud Abdol <amir.abdol@qt.io>
* Update dependencies on 'dev' in qt/qtlocationQt Submodule Update Bot2023-05-101-3/+3
| | | | | Change-Id: Iab19fe2e15da4609ea2f67fca16ba1f078411e70 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on 'dev' in qt/qtlocationQt Submodule Update Bot2023-05-021-3/+3
| | | | | Change-Id: I137eede7b311b8382f8ad4423b39947ec1c7e954 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on 'dev' in qt/qtlocationQt Submodule Update Bot2023-04-251-3/+3
| | | | | Change-Id: I30d086fa1b435dd5b8adba2bad31a506026649b1 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on 'dev' in qt/qtlocationQt Submodule Update Bot2023-04-201-3/+3
| | | | | Change-Id: Ic00e3fbcb37c48b2b08165667c56df2c3b7b07ca Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on 'dev' in qt/qtlocationQt Submodule Update Bot2023-04-191-2/+2
| | | | | Change-Id: Ia8a0c2c4717490db640e781fb8642310b9216117 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on 'dev' in qt/qtlocationQt Submodule Update Bot2023-04-181-3/+3
| | | | | Change-Id: Ia338447bf78db030359d03cbd40d9c67bb310f9c Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Doc: Remove mapbox plugin page from public viewAndreas Eliasson2023-04-181-0/+1
| | | | | | | | | | | In reference to https://www.qt.io/blog/the-road-to-qt-location and the 'Reducing the number of included backends' section, starting from Qt 6, only the OSM and ItemOverlay service providers will be supported out of the box. Pick-to: 6.5 Change-Id: If267d6fcf9ed6603f86a7931c90d49db290f023c Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
* Doc: Clean up listAndreas Eliasson2023-04-181-5/+5
| | | | | | | | | | | | | Our style guide, https://learn.microsoft.com/en-us/style-guide/scannable-content/lists, suggests not putting commas after list items and capitalizing unless there's a specific reason not to. Pick-to: 6.5 5.15 Change-Id: I0d83babd4f7e4363328fd4b4c2675f060b84c2a4 Reviewed-by: Safiyyah Moosa <safiyyah.moosa@qt.io> Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io> Reviewed-by: Jaishree Vyas <jaishree.vyas@qt.io>
* Update dependencies on 'dev' in qt/qtlocationQt Submodule Update Bot2023-04-131-3/+3
| | | | | Change-Id: I470a508177f33fdcf5654195098d1ce3a737d1e2 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on 'dev' in qt/qtlocationQt Submodule Update Bot2023-04-121-3/+3
| | | | | Change-Id: I2c57be053a2ad20681f5a2f3f6b96e7981deff5e Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on 'dev' in qt/qtlocationQt Submodule Update Bot2023-04-111-3/+3
| | | | | Change-Id: I3fea04ceae1f615a037983d781fd630f93faa4a5 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Remove unused geosimplify implementationVolker Hilsheimer2023-04-112-40/+0
| | | | | | | | Pick-to: 6.5 Change-Id: I1aca4ab7bb8dbf0830292efe7220ec220cacd5d2 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Matthias Rauter <matthias.rauter@qt.io> Reviewed-by: Ivan Solovev <ivan.solovev@qt.io>
* Remove earcut 3rdparty codeVolker Hilsheimer2023-04-115-870/+0
| | | | | | | | | It is no longer used. Pick-to: 6.5 Change-Id: I40aef9a8dd23935f7f78593105742d18d8fe72bd Reviewed-by: Matthias Rauter <matthias.rauter@qt.io> Reviewed-by: Ivan Solovev <ivan.solovev@qt.io>
* Polygons/lines can now be rendered following the shortest path on the globeMatthias Rauter2023-04-1150-68/+877
| | | | | | | | | | | | | | | | | | | | | | This is enabled by interpolating the lines of polygons and paths. The interpolating is done following the greater circle navigation and the connection between corners of the polygon appear curved on the projected map. This behavior can be turned on by setting a new property, called referenceSurface. It can be set to ReferenceSurface.Map, drawing paths as lines on the map or to ReferenceSurface.Globe, drawing path on the globe leading to curves on the map. It is set to ReferenceSurface.Map on default, reproducing the old implementation for polygons, polylines and rectangles. The circle item was already using the great circle path before this change. Its standard implementation was changed to draw a circle in map coordinates with approximated radius. This should be sufficient for many cases. To get the old implementation, referenceSurface has to be set to ReferenceSurface.Map. Fixes: QTBUG-94785 Change-Id: Ifdd1597a7116c3d220462f063656b04becb6422f Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
* Allow zoom/pan/tilt with mouse on WaylandShawn Rutledge2023-04-062-4/+6
| | | | | | | | | | | | | | This is redundant when you're using a touchpad that can provide the pinch-zoom feature; but so far we are not distinguishing mice and touchpads on Wayland. So in case the device that claims to be a touchpad is actually just a mouse, the user needs some way to zoom, pan and tilt. This can be reverted when QTBUG-112432 is fixed. Pick-to: 6.5 Task-number: QTBUG-112394 Task-number: QTBUG-112432 Change-Id: Ie339e3c1d7d0b1d5b6383d8e7f8fd1cdcb462db6 Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
* MapView: add bearing / tilt wheel functionality; also with Magic MouseBen Fletcher2023-04-062-1/+21
| | | | | | | | | | | | | | | | | | | | | | | | In Qt 5, Map had bearing / tilt mouse wheel functionality with keyboard modifiers; that feature is now restored. We allow the wheel to zoom, to change the bearing if the Shift key is held, or to change the tilt if the Control key is held. This is redundant when you're using a touchpad that can provide the pinch-zoom feature; but we need it with the Magic Mouse on macOS, because the cocoa plugin can't distinguish it from a trackpad, even though it can't provide the pinch gesture. So we enable these features for both mouse and touchpad devices on macOS. Also allow mouse and touchpad with the minimal_map example. There's a similar issue on Wayland, but let's try to fix the Wayland plugin to distinguish these devices properly. Pick-to: 6.5 Task-number: QTBUG-87646 Task-number: QTBUG-112394 Change-Id: I9e516a52e941b0b05cd0114afafde2767d80f4ff Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
* Update dependencies on 'dev' in qt/qtlocationQt Submodule Update Bot2023-04-051-3/+3
| | | | | Change-Id: I2192535dbfc0c597d6321a6a06a2aece0b0c9235 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on 'dev' in qt/qtlocationQt Submodule Update Bot2023-04-041-3/+3
| | | | | Change-Id: I8a34d2b66f4c3528cb260670641cd20e63428847 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Skip -no-gui build, instead of erroring outKai Köhne2023-03-311-4/+14
| | | | | | | | | | This currently breaks a top-level -no-gui build. Fixes: QTBUG-112477 Pick-to: 6.5 Change-Id: Idd45751bcfaf5cb275e9b2ca52995556141ff90a Reviewed-by: Alexey Edelev <alexey.edelev@qt.io> Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
* Update dependencies on 'dev' in qt/qtlocationQt Submodule Update Bot2023-03-281-3/+3
| | | | | Change-Id: Ic292d3bfddd13075d9df3576dd76de84d844efb4 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Add axivion configMatti Paaso2023-03-241-0/+62
| | | | | | | Task-number: QTQAINFRA-5244 Change-Id: Icf8a90979d83d8b3914d7242dc169cd3e6d4a0b4 Reviewed-by: Jukka Jokiniva <jukka.jokiniva@qt.io> Reviewed-by: Simo Fält <simo.falt@qt.io>
* Remove ugly line at the bottom of the mapMatthias Rauter2023-03-232-13/+5
| | | | | | | | | | Mapitems that extend below 85 deg South show a black line at the bottom of the map. The cause for this line is too narrow clipping and point insertion which is removed with this change. Pick-to: 6.5 Change-Id: I6707aede97082f7b1764cd7dd6bbe351baaad3da Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
* Update dependencies on 'dev' in qt/qtlocationQt Submodule Update Bot2023-03-201-3/+3
| | | | | Change-Id: I1691c569e840e1c4a328611669b7dcaf7906f2bb Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on 'dev' in qt/qtlocationQt Submodule Update Bot2023-03-111-3/+3
| | | | | Change-Id: I55e1520f8fc8625d5a8def10cc94b5d30a786e82 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* map viewer/places examples: Brush up the codeFriedemann Kleint2023-03-075-93/+83
| | | | | | | | | | | | | | | | | | | | - Use modern string literals - Use the variadic template version of QMetaObject::invokeMethod() - Use modern connect syntax - Reorder includes - Trim newlines in QML Fix minor bugs: - Skip empty elements of library path (namely when variable is not set) - Fix the check for osm.useragent to operate on the map - Exit cleanly on QML loading errors Since places uses similar code, apply the changes there as well. Pick-to: 6.5 6.5.0 Change-Id: Ibaeffc6e003c55c458137458c5017584e0c072f1 Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
* Examples: Fix qmake buildFriedemann Kleint2023-03-075-5/+4
| | | | | | | | | Fix the resources and remove C++ 11. Pick-to: 6.5 6.5.0 Change-Id: I1141594eae239b32b3c00663f2e0d78ec00421fd Reviewed-by: Matthias Rauter <matthias.rauter@qt.io> Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
* Doc: Fix links and snippetsVolker Hilsheimer2023-03-067-14/+12
| | | | | | | | | | | | | | | Add modules in which linked-to types live to the qdoc dependencies, fix links, and adapt snippets to changes in the examples (and add tags to quoted files as needed). This makes the documentation generate without warnings, so set the warninglimit to 0 as well to block future regressions. Pick-to: 6.5 6.5.0 Change-Id: I43fdfce1087c2a35212f91b41bba1ff9481e609d Reviewed-by: Matthias Rauter <matthias.rauter@qt.io> Reviewed-by: Andreas Eliasson <andreas.eliasson@qt.io> Reviewed-by: <safiyyah.moosa@qt.io>
* Update dependencies on 'dev' in qt/qtlocationQt Submodule Update Bot2023-03-031-3/+3
| | | | | Change-Id: I5eec7dc37b128ac2f920a390620bda5c5d1e6d28 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update Mapviewer exampleMatthias Rauter2023-03-0116-327/+68
| | | | | | | | | | | | Removed MapItems and argument parsing for old plugins. Replaced some circles with markers. Updated documentation and resources. Pick-to: 6.5 Change-Id: I2c33d33d52ba2f5c1c81f444e8b414a4349dc505 Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io> Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
* Add documentation for GeoJson Viewer exampleMatthias Rauter2023-03-019-62/+308
| | | | | | | | Some code has been changed to make the documentation clearer. Pick-to: 6.5 Change-Id: Icae03a7babc7e40d10cbdca5bfa81d3ab8efbd86 Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
* Update the documentationMatthias Rauter2023-03-019-106/+69
| | | | | | Pick-to: 6.5 Change-Id: Icff1282a22c3cefbbbbfb1dc03910066eb7c85f3 Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
* Minimal updates to Places Map example documentationMatthias Rauter2023-03-012-2/+2
| | | | | | Pick-to: 6.5 Change-Id: Ie3d18d1f9ac4beed2ec3e00f171a5fc80404455f Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
* Remove unsupported plugin parameters from places exampleMatthias Rauter2023-03-011-18/+0
| | | | | | Pick-to: 6.5 Change-Id: I31641784ecc06711a06fafa650631fb3e4da8f45 Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
* Replace MouseArea with TapHandler in Planespotter exampleMatthias Rauter2023-03-012-7/+5
| | | | | | Pick-to: 6.5 Change-Id: Ib5e02e914090a22183230cdd128fbcba608d82fc Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
* Resolve a duplicate static symbol during Unity BuildAmir Masoud Abdol2023-02-282-11/+2
| | | | | | | | | | | Removed a duplicate function, and replaced it with direct calculation since it was only being used once in one of the files anyway. The same for `invLog2`, as the compiler should be taking care of it already. Pick-to: 6.5 Task-number: QTBUG-109394 Change-Id: I9095bca32ea127f770fa2cb0523b05110bd8ef21 Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
* Resolve duplicate meta type definition causing issue for unity buildAmir Masoud Abdol2023-02-283-6/+4
| | | | | | | Pick-to: 6.5 Task-number: QTBUG-109394 Change-Id: Ic909c4e0e76e8744176421125d9fcda6b602bf0c Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
* Resolve a duplicate symbol during Unity BuildAmir Masoud Abdol2023-02-271-0/+3
| | | | | | | | | | By excluding them from the unity build Pick-to: 6.5 Task-number: QTBUG-109394 Change-Id: I7108d75e792900f9bcc70d858ee058a3a3ba80f1 Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
* Avoid adding x-y-z structure of tile server if it already exists in urlMatthias Rauter2023-02-271-1/+3
| | | | | Change-Id: I94255b1c6406e82bd12b126fbdff6ac43e63dbd2 Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
* Update dependencies on 'dev' in qt/qtlocationQt Submodule Update Bot2023-02-241-3/+3
| | | | | Change-Id: Ifa7e8fb174745e54763a53157269ceaf358ea012 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Return early from export function if data is empty to avoid crashesMatthias Rauter2023-02-231-0/+2
| | | | | | Pick-to: 6.5 Change-Id: I4713d4a97b7854df8310e6d0766a694e11473768 Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
* Add drawing of mapItems to GeoJson viewer exampleMatthias Rauter2023-02-228-5/+279
| | | | | | Pick-to: 6.5 Change-Id: I362acbb6a428e83c3490742824b54aa68890c47f Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
* Add boundaries to zoomLevel in MapViewMatthias Rauter2023-02-224-143/+84
| | | | | | | | | There was a bug in the notification handling in QDeclarativeGeoMap that prevented BoundaryRule to work properly. This bug was fixed along the way. Pick-to: 6.5 Change-Id: Iae85019c7cceb77dab6f20478b564908797f7ccd Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
* Update dependencies on 'dev' in qt/qtlocationQt Submodule Update Bot2023-02-211-3/+3
| | | | | Change-Id: I912850c70871676e3abaaaff2f6d2c9749f4e27c Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Improve documentation and fix warnings and examplesVolker Hilsheimer2023-02-216-88/+35
| | | | | | | | | | | | | - Waypoint was removed in bf12a34712d14d382b410b5ba5154eba90963675, so remove the documentation for the QML type - document the icon QML type from the Places module - remove dead code from example - adjust snippet quoting to changes - fix some qdoc warnings Pick-to: 6.5 Change-Id: I8ee2b55d8a48afa6f700be1edab06f2364c6ff04 Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
* Improve compatibility between OSM plugin and places exampleMatthias Rauter2023-02-202-8/+9
| | | | | | | | | | | | The categories are searched as well as possible. However, searches for e.g. all shops are not possible with OSM since a recent API change. The category is written into the PlacesReply object so that they can be displayed in the ui. Pick-to: 6.5 Change-Id: Ic08e5bef393313672775b6f39d365484ee8b0c58 Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
* Update location examples to work with MapView/HandlersShawn Rutledge2023-02-2023-505/+470
| | | | | | | | | | | | | | | | MapView replaces Map in the examples to reintroduce event handling. Some of the functionality is still in mapview.map and the code has to be adjusted respectivly. The following examples are affected: mapviewer, places, places_map. The mapviewer example has a new menu to draw mapitems. The places example draws places icons instead of a fixed marker. Fixes: QTBUG-111005 Change-Id: I15ca2b3d3ecb7c35684b9fd4c2b7a86249add11c Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
* Add baseline tests to qtlocationMatthias Rauter2023-02-1532-0/+2183
| | | | | | | | Testing rendering of QDeclarativeMapItems. Pick-to: 6.5 Change-Id: I9767314945a022006fdf02341744018c04206099 Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>