summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Update dependencies on '6.5' in qt/qtlocationv6.5.0-beta1Qt Submodule Update Bot2022-12-161-3/+3
| | | | | Change-Id: Ib80db45c0bec892742f828cb118862643ba5270d Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on '6.5' in qt/qtlocationQt Submodule Update Bot2022-12-141-2/+2
| | | | | Change-Id: I4ce169b076bf0a06913bbfab1e643cb303b0f899 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on '6.5' in qt/qtlocationQt Submodule Update Bot2022-12-131-3/+3
| | | | | Change-Id: I2a07292dd0feb7a8b43d7ac4cefda22fae682d66 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on 'dev' in qt/qtlocationQt Submodule Update Bot2022-12-121-3/+3
| | | | | Change-Id: I0aa5d4aae52e21663b6c5ef918e48b14a9f46e62 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on 'dev' in qt/qtlocationQt Submodule Update Bot2022-12-081-3/+3
| | | | | Change-Id: I21b380c92eb6cb3e833a9f38ed2de8e0e4b4fa0f Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Mark the module as free of qAsConst()Marc Mutz2022-12-0717-30/+32
| | | | | Change-Id: Ie67ec9b4f1f808b3b70ca7beb98f90c9cd1f2a9f Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
* Update dependencies on 'dev' in qt/qtlocationQt Submodule Update Bot2022-12-051-3/+3
| | | | | Change-Id: Ib19155a2def4fa7c5fbc619ec5e9d3cb2e01e679 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Remove "OpenGL" map item implementationsLaszlo Agocs2022-12-0225-3113/+0
| | | | | | | | | | | | The aim is to have a single solution. And due to certain cases falling back to the default ("CPU") path, this "OpenGL" path is not complete on its own. In addition, some rendering features are not implemented (caps and joins), meaning additional work is needed still to be on par with the default item rendering path. Change-Id: Ie67c8b5ac002c6660f3808c10d9fd9276a16e47e Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
* Clean up: move QGeoRouteParserOsrmV4 into OSM pluginVolker Hilsheimer2022-12-026-5/+5
| | | | | | | | | It's only used there. Need to privately export QGeoRouteParserPrivate for this. Change-Id: I0342dc31836a9db731f495434b9d4c7dd5973af2 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Ivan Solovev <ivan.solovev@qt.io>
* Remove map item backend switchLaszlo Agocs2022-11-3013-398/+0
| | | | | Change-Id: Ic1ed064269ac73e68d0358b373ea1e8048a1c241 Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
* Update dependencies on 'dev' in qt/qtlocationQt Submodule Update Bot2022-11-291-2/+2
| | | | | Change-Id: I7e85f2ed97d32cdbff0fcc4b0d5294bc1227e338 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Remove QDeclarativeGeoWaypointVolker Hilsheimer2022-11-283-446/+37
| | | | | | | | | | | | The type was introduced as a QML-wrapper around QGeoCoordinate, which is now a registered value type for QML. QGeoCoordindate doesn't have a bearing property, but as waypoints could be initialized with a list of QGeoCoordinate anyway, 'bearing' was only inconsistently supported. If we want to bring that back, then it might be best to add an optional bearing to QGeoCoordinate in Qt Positioning. Change-Id: I3d8cb64f3552dc5580945b17c3a9092a7205b9b8 Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
* Documentation fixesVolker Hilsheimer2022-11-2830-250/+100
| | | | | | | | | | | | Correct spelling of and links to QML value types and to properties of value types. Remove some documentation and snippets that are mostly outdated, and links to specific plugin providers. Silence some warnings. Task-number: QTBUG-96795 Change-Id: Ifba3ae8144e0d949f1c72a4ea230e7f84fa28bd4 Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
* Update dependencies on 'dev' in qt/qtlocationQt Submodule Update Bot2022-11-261-3/+3
| | | | | Change-Id: I101428b5fbee76b3044314932b766d7732865dca Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on 'dev' in qt/qtlocationQt Submodule Update Bot2022-11-261-5/+5
| | | | | Change-Id: Ia8b19f0d84e91fe9e9870344b3e7e05710501142 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Remove missing file from geojson exampleVolker Hilsheimer2022-11-241-1/+0
| | | | | Change-Id: Ib5b7466cfd3ae20ebfb8615b7f9b10323b2fc1b7 Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
* Replace QT_HAS_INCLUDE() wrapper macro with __has_include()Tor Arne Vestbø2022-11-221-1/+1
| | | | | | | | | | | | | Using wrappers for these macros is problematic when for example passing the -frewrite-includes flag to preprocess sources before shipping off to distcc or Icecream. It will also start producing warnings when compilers implement http://eel.is/c++draft/cpp.cond#7.sentence-2. See for example https://reviews.llvm.org/D49091 See qtbase change c3bd5ffdc8a3b459f18ba6e35fca93e29f3b0ab0. Change-Id: Ib3b39c2f47816b8a92ffcc0432322cb0d1ea7dbf Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
* Manually update dependencies on 'dev' in qt/qtlocationVolker Hilsheimer2022-11-221-3/+3
| | | | | Change-Id: I28a1ad9cf1eb28a8432ef223d8b83b981ef64494 Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
* Polyline: Remove unused backend enum valuesLaszlo Agocs2022-11-152-4/+2
| | | | | | | Have just what is in the other items (Software, OpenGL). Change-Id: I3a8b387fb7a98c9e5580a22cb8af3568c1849434 Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
* Revive mapitems_backends manual testLaszlo Agocs2022-11-151-22/+16
| | | | | | | | Fix up the imports so that the qml file loads. Then follow the changes for the available polyline backends. Change-Id: I01a229264275ef0b89eb71332b06da0be0097b08 Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
* Revive mapobjects_tester manual testLaszlo Agocs2022-11-151-19/+14
| | | | | | | | Fix up the imports so that the qml file loads. Then follow the changes for the available polyline backends. Change-Id: Idbf4049523ddd8d6857911f76e973a7e24064b42 Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
* Simplify by removing the LineStrip mode for MapPolylineLaszlo Agocs2022-11-1517-347/+73
| | | | | | | | | | | | | | | | | | | | | | Have two modes (Software, OpenGL) for polyline, as it is the case for all other items (rectangle, circle, polygon). OpenGLLineStrip is removed completely, whereas the enum value OpenGL is added with the same value as OpenGLExtruded for symmetry with other items. Drawing lines and expecting wide line (width > 1) support to be avilable is highly non-portable: Direct 3D, Metal, and core profile OpenGL contexts will not support widths other than 1, whereas with Vulkan wide lines are an optional feature so it may or may not work. As the 'backend' property is already marked as internal, it won't present any consequences when it comes to the public API. Internally this requires some untangling of the somewhat intertwined node and material implementations. Change-Id: I175ddb5f84128ed4d0fcf2939272e631566ff327 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
* Get the geojson example working againShawn Rutledge2022-11-156-193/+9
| | | | | | | | | | | | | | | | | | fdbbfa4a6723b816478ee011ab4098e5332dc2f5 removed MapObjectView, but this example continued to depend on it. This reverts parts of commit be7cbed7411d024d178377bd327d5916c80e02a0. Also: - use QtCore.StandardPaths rather than Qt.labs.platform - remove the widgets dependency - use FileDialog.nameFilters to read and write geojson files Let's assume that FileDialog.selectedFile will actually output a QUrl to save the file to, as opposed to a plain path, since the dumpGeoJSON() function is calling toLocalFile() on it. At least that works with native dialogs. Task-number: QTBUG-108455 Change-Id: I1f14c6425115aa95ac2080438ff0c3a24b1b7196 Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
* Android: use string based location permission callsAssam Boudjelthia2022-11-141-1/+3
| | | | | | | | | Amends ef935f6e37a24f52255e6696b85a0fa9aaa7361a. Go back to string based calls until the new permissions API is fully used. Change-Id: If3c1d63ac0267e820fec89dc63cf801022c1f84a Reviewed-by: Ivan Solovev <ivan.solovev@qt.io>
* Manually update dependencies on 'dev' in qt/qtlocationVolker Hilsheimer2022-11-141-3/+3
| | | | | Change-Id: Id05f788e88f8ebc2f68e19b7240387ee342ea788 Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
* Add SILENT to qt_add_shaders callLaszlo Agocs2022-11-071-0/+1
| | | | | | | | For consistency with qtdeclarative, and to keep the configure and build output from CMake clean. Change-Id: I8d46051f2021803ccc565d3b4f10ca48e344efe5 Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
* Remove parameterization functionalityVolker Hilsheimer2022-11-0227-1345/+20
| | | | | | | | | | | | | | | | | | | | | The abstraction of plugin-specific parameters makes little sense if we don't want to provide a cross-backend API. So remove this for now. If in the future we want to attach meta-data or backend-specific properties to values or element types, then we might be able to use existing QVariantMap type properties (like QGeoRouteRequest's extraParameters, via QDeclarativeGeoRouteQuery::extraParameters), or register backend specific QML types that applications can opt in to use. This requires a bit of research and experimenting based on specific use cases. If we can't come up with anything better, then bringing back a, perhaps simplified, version of the infrastructure removed here will still be an option. Change-Id: If590a35f2ffb80b0c918d866e88913a9caf75d2b Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
* Clean up: make getters in QDeclarativeGeoRouteQuery constVolker Hilsheimer2022-11-022-9/+9
| | | | | | | | Declare lazily updated data as mutable. Change-Id: I43c445c569e6499d28c0b3686efdfb9cc146d496 Reviewed-by: Ivan Solovev <ivan.solovev@qt.io> Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
* Enable syncqt cppAlexey Edelev2022-11-011-0/+2
| | | | | | Change-Id: I100f1fc8bec5032d16ba43702ba1f8802f270a1c Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
* Manually update dependencies on 'dev' in qt/qtlocationVolker Hilsheimer2022-11-011-3/+3
| | | | | Change-Id: Ib35826db79d8ed03a575a0b1e4c7f1af8a940e6b Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
* Disable Esri/Nokia/MapBox pluginsVolker Hilsheimer2022-10-257-89/+113
| | | | | | | | | | | | | As a first step, put them behind feature flags that are always false. Remove mapbox-gl-native as a submodule - there's no reason why people wanting to build that can't clone and build that repo themselves. Don't test the respective providers unless they are available, and use the osm plugin when testing the basic plugin framework. Change-Id: I53429878e53294dce52ee830a4b4613f372898c6 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
* Manually update dependencies on 'dev' in qt/qtlocationVolker Hilsheimer2022-10-201-3/+3
| | | | | Change-Id: I60d3f59a78386b7bb72b00da538682d651181a65 Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
* Document more type changesVolker Hilsheimer2022-10-131-7/+12
| | | | | | | | | | | Add routeManeuver and cameraCapabilities to the list of types that are now value types. Clarify language - in Qt 6.5, value types can be instantiated through properties. Complete unfinished statement about MapObjects being gone. Change-Id: I0828d5af7823d7d907bf5fa21a7250ebd70189d1 Reviewed-by: Ivan Solovev <ivan.solovev@qt.io>
* Remove leftover labs things from build systemVolker Hilsheimer2022-10-131-7/+0
| | | | | Change-Id: I934f07b0bb1f35fdae295ec57e760ebbaa64fe2e Reviewed-by: Ivan Solovev <ivan.solovev@qt.io>
* Remove unneeded qmake file for zlib dependencyVolker Hilsheimer2022-10-131-6/+0
| | | | | Change-Id: I3b9e9277a8a49159d3c6668d79ffc0292cb15967 Reviewed-by: Ivan Solovev <ivan.solovev@qt.io>
* Manually update dependencies on 'dev' in qt/qtlocationVolker Hilsheimer2022-10-121-3/+3
| | | | | Change-Id: I2817d8f95ae89be4590fad6c9e1951f7f836aadc Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
* Doc: we don't guarantee compatibility for backend classesVolker Hilsheimer2022-10-126-5/+33
| | | | | | | | | | Similar to QPA, we want to continue to develop the backend APIs between minor releases. Loading a plugin that uses a different Qt version than the application is anyway a bad idea (if supported at all), and for Qt Location specifically we don't want to support this. Change-Id: Ib8b159e1df391bc5a474ddccb6933ab80529264f Reviewed-by: Ivan Solovev <ivan.solovev@qt.io>
* Update changes documentationVolker Hilsheimer2022-10-111-1/+7
| | | | | | | Labs functionality has been removed, and RouteLeg is folded into Route. Change-Id: I3a5003d1f35482637391cb37b88b4a5afd68ea93 Reviewed-by: Ivan Solovev <ivan.solovev@qt.io>
* Fix typo in exampleVolker Hilsheimer2022-10-101-1/+1
| | | | | | | | Amend d8f03e5e71de3d951f86f0b0413fd75d554b2039. Change-Id: I4b2c652f73d1fd5fb5ffecc621f0a7e94fb70498 Reviewed-by: Santhosh Kumar <santhosh.kumar.selvaraj@qt.io> Reviewed-by: Ivan Solovev <ivan.solovev@qt.io>
* Disable copy and move for private, polymorph typesVolker Hilsheimer2022-10-068-73/+27
| | | | | | Change-Id: I373e324cbe96d0ae34cba62a105bea8a7fdb83dd Reviewed-by: Ivan Solovev <ivan.solovev@qt.io> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
* Move the RHI implementation into separate folderVolker Hilsheimer2022-10-0627-2280/+2950
| | | | | | | | | Makes it easier to work with the code, the implementations have little in common that is not anyway abstracted into the common private base class. Change-Id: I4d957833f5a881e1b445ff6e912ffa036d10321a Reviewed-by: Ivan Solovev <ivan.solovev@qt.io>
* tst_QGeoTiledMap: fix memory leakIvan Solovev2022-10-061-4/+6
| | | | | | | | | Use std::unique_ptr to manage QGeoServiceProvider object's lifetime. We cannot create the provider on the stack because it must outlive the child QGeoTiledMap instance. Change-Id: Ic2275fda394175bcb2a7782f887c10326f4c72a0 Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
* tst_QPlaceSearchRequest: fix memory leakIvan Solovev2022-10-061-5/+5
| | | | | | | No need to dynamically create the QPlaceSearchRequest instance. Change-Id: If82213b2019741ae302be2b67b71d56187822bda Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
* Clean up: move code into right place, remove dead codeVolker Hilsheimer2022-10-067-61/+35
| | | | | | | | | | | QGeoMapItemGeometry::geoDistanceToScreenWidth was unused, so remove it. Move path/pathMercator projection helpers to QGeoMapItemGeometry, they are used in items other than the rectangle items. In mapbox plugin, call static helper from correct class. Change-Id: I5645f503a24e23e295211da32e98f995b8c17b56 Reviewed-by: Ivan Solovev <ivan.solovev@qt.io>
* Cleanup: move CPU item implementation into cpp fileVolker Hilsheimer2022-10-068-363/+403
| | | | | | | | This will make it easier to split the RHI implementation out into separate files. Change-Id: I4173b46871ba1e84310f9f6bebaae7754879b70b Reviewed-by: Ivan Solovev <ivan.solovev@qt.io>
* Manually update dependencies on 'dev' in qt/qtlocationVolker Hilsheimer2022-10-051-3/+3
| | | | | Change-Id: Ia30e5a8b2d85da4eac6d407c42e41600978aff02 Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
* Register QGeoRoute as QML value type, remove QDeclarativeGeoRouteVolker Hilsheimer2022-10-0414-554/+231
| | | | | | | | Adapt model and tests accordingly. Fixes: QTBUG-106482 Change-Id: Ie5a36e4fef17ae7bc4ecfab9187a325fb025e283 Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
* Mark documentation for item's backend property as internalVolker Hilsheimer2022-10-044-0/+4
| | | | | | | We don't want to support selecting backends. Change-Id: Ie95877fe647f237dd834fdcd22cbb3ed52dcacac Reviewed-by: Ivan Solovev <ivan.solovev@qt.io>
* Declare value types as structured values, remove workaroundsVolker Hilsheimer2022-09-3017-152/+33
| | | | | | | | Use QML's new support for initializing structured values, adjust tests, and remove the now unnecessary conversion functions. Change-Id: I7007c9acb50f4a9532a9eed847b1b4dd0928ba34 Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
* Manually update dependency to latest revision of Qt PositioningVolker Hilsheimer2022-09-291-1/+1
| | | | | Change-Id: I06851df7d98968698397eaecd3c12c038fbe7a23 Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>