summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* constructRoute: remove segmentPathLengthCount6.3.06.3Shawn Rutledge2022-01-191-4/+0
| | | | | | | | | | | | It was causing a (fatal) warning: error: variable 'segmentPathLengthCount' set but not used [-Werror,-Wunused-but-set-variable] Change-Id: Ia6ce5861539f878c307630182eb671c442d14a62 Reviewed-by: Lauri Laanmets <lauri.laanmets@eesti.ee> Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io> (cherry picked from commit 776a0cbbab7c4980bd50ec8dcb5c489857b08758) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Use up-to date LGPL license headerKai Köhne2021-12-02389-5118/+5418
| | | | | | | | Remove usages of outdated LGPL3 header that references LICENSES.LGPLv3 instead of LICENSES.LGPL3. Change-Id: Ied647fc10d2bf051cccc8b38d75570b7caef1f28 Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
* replace int by qsizetypeLauri Laanmets2021-11-0912-28/+28
| | | | | | | | | | | For "count" and "at" methods, the parameter or return type int was replaced by qsizetype. This patch adapts the code to this change. Task-number: QTBUG-96795 Change-Id: Id409ab573cce886649a72538584dfa57264e7dac Reviewed-by: Ivan Solovev <ivan.solovev@qt.io> Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
* Change 'geometryChanged' to 'geometryChange'Lauri Laanmets2021-11-0912-25/+25
| | | | | | | | | | | | | As stated by the documentation: https://doc.qt.io/qt-6/quick-changes-qt6.html#changes-to-qquickitem This is part of a bigger work to port QtLocation maps to Qt6. Task-number: QTBUG-96795 Change-Id: I9dcf2e454d949dfbf3a9861b98eb949be6e6df56 Reviewed-by: Ivan Solovev <ivan.solovev@qt.io> Reviewed-by: Alex Blasche <alexander.blasche@qt.io> Reviewed-by: Andreas Buhr <andreas.buhr@qt.io>
* Change 'setBoundingBox' to 'setBoundingShape'Lauri Laanmets2021-11-099-9/+9
| | | | | | | | | | | | https://doc.qt.io/qt-6/qtpositioning-changes-qt6.html#c This is part of a bigger work to port QtLocation maps to Qt6. Task-number: QTBUG-96795 Change-Id: I9c14bd39d2da95a0be6542be432b79e26906c5ed Reviewed-by: Ivan Solovev <ivan.solovev@qt.io> Reviewed-by: Alex Blasche <alexander.blasche@qt.io> Reviewed-by: Andreas Buhr <andreas.buhr@qt.io>
* Change QGeoPolygon 'path' to 'perimeter'Lauri Laanmets2021-11-097-28/+28
| | | | | | | | | | | | https://doc.qt.io/qt-6/qtpositioning-changes-qt6.html#rename-qgeopolygon-path This is part of a bigger work to port QtLocation maps to Qt6. Task-number: QTBUG-96795 Change-Id: I34f27f7e21a3e4243b7fc08a93bc6e95d0541814 Reviewed-by: Ivan Solovev <ivan.solovev@qt.io> Reviewed-by: Alex Blasche <alexander.blasche@qt.io> Reviewed-by: Andreas Buhr <andreas.buhr@qt.io>
* Correct string literal comparison and concatenationLauri Laanmets2021-11-093-40/+42
| | | | | | | | | | This is part of a bigger work to port QtLocation maps to Qt6. Task-number: QTBUG-96795 Change-Id: Ib4c845679a9dcdd9994603076d9ba7d06c2d1c47 Reviewed-by: Ivan Solovev <ivan.solovev@qt.io> Reviewed-by: Alex Blasche <alexander.blasche@qt.io> Reviewed-by: Andreas Buhr <andreas.buhr@qt.io>
* Mouse/touch input handling re-workLauri Laanmets2021-11-094-173/+109
| | | | | | | | | | | Mouse and touch input part is re-written to support new 'exclusiveGrabber' and to be able to share different touch points between different child items. For example, one finger can pan the map and another finger can scroll child ListView or pinch can be started even when first finger touched child mouse area but started moving together with the second finger. This is part of a bigger work to port QtLocation maps to Qt6. Fixes: QTBUG-68771 Task-number: QTBUG-96795 Change-Id: Ie4022350156ab0129b6cbba0a442a19bb1ee74d9 Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
* Code clean-up to be able to compile for Qt 6Lauri Laanmets2021-11-098-8/+4
| | | | | | | | | | | | Various minor changes about includes and re-definitions, etc, to make the compiler happy. Leaving QGeoRoutingManager doc sample code Q_OBJECT AutoMoc error for a separate patch. This is part of a bigger work to port QtLocation maps to Qt6. Task-number: QTBUG-96795 Change-Id: Ic1d22cec18660a7a01dbafe89f134bdd04574851 Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
* Remove QAbstractDeclarativeData::parentChangedLauri Laanmets2021-11-093-10/+9
| | | | | | | | | | | | | | | | | This method was removed from qtbase in e8b7e4e96a23b87011abeb1e4f5f694654866e3f. This commit removes the usage of this method from qtlocation and attempts to achieve the same behavior by introducing a custom setParentAndNotify() method which emits the parentChanged() signal. The code is also updated to make use of the new method. This is part of a bigger work to port QtLocation maps to Qt6. Task-number: QTBUG-96795 Change-Id: I4523cf567b4510fc17473a37c689c689ee53130e Reviewed-by: Alex Blasche <alexander.blasche@qt.io> Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
* QGeoRoutingManager doc example into snippet fileLauri Laanmets2021-11-092-72/+122
| | | | | | | | | | QGeoRoutingManager documentation has and example code with full C++ class. This also contains Q_OBJECT macro. But this macro is checked by AutoMoc (doesn't care if it's in a comment) and gives build error that moc_ file is not included. So, moving this example code into snippet file to get over that. This is part of a bigger work to port QtLocation maps to Qt6. Task-number: QTBUG-96795 Change-Id: I581ed5df55a49ce761423eba3353b683f2e2409b Reviewed-by: Ivan Solovev <ivan.solovev@qt.io>
* Fix QGeoJson import/exportIvan Solovev2021-11-091-2/+3
| | | | | | | | | | | | The qgeojson test was actually failing. The following fixes to the class were done: - Improved check for invalid QVariant when importing 'bbox' object - Handle the fact that 'id' field is optional in the 'Feature' object Task-number: QTBUG-97769 Task-number: QTBUG-96795 Change-Id: I99696fc90b02f5deb5c438cf7ae93fcefd08882e Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
* Update dependency on QtPositioningIvan Solovev2021-11-091-3/+3
| | | | | | | | | Use the proper version of QtPositioning module. Have to do it manually because QtLocation is not handled by submodule update bot Task-number: QTBUG-97769 Change-Id: I1e205732123aba1eb371924e76e6f48f6cafcdce Reviewed-by: Andreas Buhr <andreas.buhr@qt.io>
* Fix warnings that break Windows buildIvan Solovev2021-11-099-23/+23
| | | | | | | | | | Windows machines in the CI have more strict rules for dealing with warnings. Most of them are treated as errors. This patch fixes such warnings. Task-number: QTBUG-97769 Change-Id: I9432d266a0b019512c38009ff2395b51071c59bf Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
* Plugins: port to QPluginParsedMetaData and CBORIvan Solovev2021-11-092-17/+17
| | | | | | | | | | | QFactoryLoader now no longer converts its internal metadata to JSON, so we may as well not do it here either. All of this is internal API, so we can change. Task-number: QTBUG-97769 Change-Id: I91f9fd5a3a843befff2fb29be7659b7520be16bc Reviewed-by: Alex Blasche <alexander.blasche@qt.io> Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
* Build minimal subset of QtLocation with unit-testsIvan Solovev2021-11-0976-100/+982
| | | | | | | | | | | | Build src/location/maps and src/location/places with a minimum subset of required src/location/declarativemaps files. Also build all plugins except mapbox-gl. Enable all non-QML unit-tests. Task-number: QTBUG-97769 Change-Id: I7c70584376c688efd2e1d046186732a7399e12d9 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
* QtLocation: adapt to build with external QtPositioningIvan Solovev2021-10-279-78/+50
| | | | | | | | | | This includes fixing some includes to use the full path to QtPositioing/private/header_name_p.h and also fixes related to the reworked clipper wrapper. Task-number: QTBUG-97084 Change-Id: I15ce8d739beb2f190df9f5af01a7cb1642a6b2a2 Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
* Remove QtPositioning module from qtlocation.gitIvan Solovev2021-10-27451-68348/+18
| | | | | | | | | | | | | | | Turns out that our CI does not support repos without any tests. This is treated like an error and leads to integration failure. This patch fixes it by disabling tests in coin/module_config.yaml. This config should be fixed when QtLocation tests are enabled Pick-to: 6.2 Task-number: QTBUG-97084 Change-Id: Ib06e865fe2836806bbbee34345f06b471dd48660 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
* Update dependencies on 'dev' in qt/qtlocationQt Submodule Update Bot2021-10-201-3/+3
| | | | | Change-Id: I9d5da1cfe93068254d8a3562dfb7967b8dcc7586 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on 'dev' in qt/qtlocationQt Submodule Update Bot2021-10-121-3/+3
| | | | | Change-Id: I03b2c6e26e71b507265602df8cabdf98c55b12ea Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on 'dev' in qt/qtlocationQt Submodule Update Bot2021-10-111-3/+3
| | | | | Change-Id: I9709c9d1a715e5eb7ffffdf90c1d3cd708c0886d Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on 'dev' in qt/qtlocationQt Submodule Update Bot2021-10-081-3/+3
| | | | | Change-Id: I831e1c761f7d18826f55be90e32324ae4f700a2b Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Fix weatherinfo example not requesting location permissions on iOSØystein Heskestad2021-10-073-0/+48
| | | | | | | Fixes: QTBUG-91377 Change-Id: Id159cd63102269edeebc9096974830d263e18348 Reviewed-by: Lauri Laanmets <lauri.laanmets@eesti.ee> Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
* Update dependencies on 'dev' in qt/qtlocationQt Submodule Update Bot2021-10-061-3/+3
| | | | | Change-Id: I038baa1e9d9b456c588117bb40e578bcfe967bf9 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on 'dev' in qt/qtlocationQt Submodule Update Bot2021-10-051-3/+3
| | | | | Change-Id: I3f411ec1732d170d40ee9e622144e05fe1849219 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Add positioning documentation for iOSØystein Heskestad2021-10-042-0/+78
| | | | | | | Task-number: QTBUG-91377 Change-Id: Ia98898db562e54743754024f3f631765ee1da77d Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io> Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
* Fix Geoflickr example not building with qmakeTamás Martinec2021-10-011-1/+1
| | | | | | | | | | Removed xmlpatterns from the qmake dependencies as it not part of Qt 6. Pick-to: 6.2 Task-number: QTBUG-91534 Change-Id: I99923c34c09cf865c15e97c6bcaf43bc653ac50b Reviewed-by: Ivan Solovev <ivan.solovev@qt.io> Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
* Update dependencies on 'dev' in qt/qtlocationQt Submodule Update Bot2021-10-011-3/+3
| | | | | Change-Id: I14d2815d5879a6f8d3b2ef7c106e4140f3ef784e Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on 'dev' in qt/qtlocationQt Submodule Update Bot2021-09-291-3/+3
| | | | | Change-Id: Ic1cce4c858df9efb2a89d35bebb1349088e8f147 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on 'dev' in qt/qtlocationQt Submodule Update Bot2021-09-271-3/+3
| | | | | Change-Id: I30054024ff8f6bb1209ae1c98eb413864b762bbe Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on 'dev' in qt/qtlocationQt Submodule Update Bot2021-09-231-3/+3
| | | | | Change-Id: Iab2a539513280fb0e251789cdc449bbca185bcb4 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* CMake: Bump almost all cmake_minimum_required calls to 3.16Alexandru Croitor2021-09-223-3/+3
| | | | | | | | | | | | | Needed for subsequent change that will check and error out if the version is lower than 3.16. We do that to ensure all policies introduced by CMake up to version 3.16 have their behavior set to NEW. Pick-to: 6.2 Task-number: QTBUG-95018 Change-Id: I19e81ab7d8fd570a32aa9181799d77a2eea73ab8 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Kai Koehne <kai.koehne@qt.io>
* QtLocation: Fix position not updating after accepting location dialog on macOSTamás Martinec2021-09-221-8/+6
| | | | | | | | | | | | | Removed the deletion of the location manager if location authorization status is not known. Results in AppModel::positionError at the moment. This happens on macOS before the location authorization dialog is answered. Task-number: QTBUG-91534 Pick-to: 6.2 Change-Id: I62acc61bfd1318fc0c91ae2dbba4915ca5029275 Reviewed-by: Ivan Solovev <ivan.solovev@qt.io> Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
* Update dependencies on 'dev' in qt/qtlocationQt Submodule Update Bot2021-09-211-3/+3
| | | | | Change-Id: I9c94c0463861a18b3eef4a51e9e2d77787447053 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on 'dev' in qt/qtlocationQt Submodule Update Bot2021-09-201-3/+3
| | | | | Change-Id: I18d58333df9d550f3c10fff5bfca2f6adaa8e02f Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on 'dev' in qt/qtlocationQt Submodule Update Bot2021-09-161-3/+3
| | | | | Change-Id: I0b3449edcc4d529f89f276baf021e9638eef38ef Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Bump versionJani Heikkinen2021-09-142-2/+2
| | | | Change-Id: Ia6d7d94c31082ab73e368ca9e7e480baefedb1ee
* Doc: Correct a broken link about GPS's accuracyLuca Di Sera2021-09-131-1/+1
| | | | | | | | | | | | | | | | | The site containing the link has been down since at least 2017 and its author seems to be enjoying his retirement. As it is not expected that the site will be online again or that its content will be moved to a different location, the link was substituted with one from Internet Archive's The Wayback Machine. To ease the reading of the paragraph, the `\l` command was given a link-text argument referencing the content of the website page. Task-number: QTBUG-96127 Pick-to: 6.2 Change-Id: I3ee26fa3bac795ae03a202c3de0e6c157b4ee074 Reviewed-by: Paul Wicking <paul.wicking@qt.io>
* Update dependencies on 'dev' in qt/qtlocationQt Submodule Update Bot2021-09-091-1/+1
| | | | | Change-Id: Idc94ed7925af4b8dab863ca0a90ffc3c02aef58f Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on 'dev' in qt/qtlocationQt Submodule Update Bot2021-09-071-3/+3
| | | | | Change-Id: Ie6b7ca81ed5e53ff917b3f39ce8b74a82270fbce Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on 'dev' in qt/qtlocationQt Submodule Update Bot2021-09-061-1/+1
| | | | | Change-Id: I6dfa9aeba01c880ff1b9debf0a1a3a7f0a3a88cd Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on 'dev' in qt/qtlocationQt Submodule Update Bot2021-09-031-3/+3
| | | | | Change-Id: I9d72cd576980e6e722c4c40b3da5f1f5cfba2e5d Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Doc: Remove unsupported customFiltersKai Köhne2021-09-032-6/+0
| | | | | | | | | | customFilters defined in .qdocconf are not supported anymore by Qt Assistant since Qt 5.13. Therefore remove them from all .qdocconf files, also to avoid cargo-culting them to new help modules. Task-number: QTBUG-95987 Change-Id: Id90c1af24bb4f7c11c4ea6edfe446e642adc61a2 Reviewed-by: Paul Wicking <paul.wicking@qt.io>
* Update dependencies on 'dev' in qt/qtlocationQt Submodule Update Bot2021-09-021-3/+3
| | | | | Change-Id: I2deca8b65349bfa5219cd81dcf9bcbc64b65e0fc Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on 'dev' in qt/qtlocationQt Submodule Update Bot2021-09-021-1/+1
| | | | | Change-Id: I41b49e88e38bdf8b8c4f334b79b99bd0de57905e Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on 'dev' in qt/qtlocationQt Submodule Update Bot2021-09-011-3/+3
| | | | | Change-Id: I4f7943cc86ea4e12a4630682d5e3cd03799bd83c Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on 'dev' in qt/qtlocationQt Submodule Update Bot2021-08-311-1/+1
| | | | | Change-Id: I8998fea07ea0e7f5473b967f0b48fecf57e60406 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* QGeoCoordinateAnimation: fix shortest path interpolationIvan Solovev2021-08-313-6/+42
| | | | | | | | | | | | | | Inspired by CodeChecker warning about dead code. Fix some copy-paste issues which could lead to incorrect shortest path estimation when it crosses the -180/180 degree line. As a drive-by: remove the unneeded initialization of a variable, that is anyway initialized later. Just to silence another CodeChecker warning. Pick-to: 6.2 Change-Id: I9ebd5900a5ca331ef5846a06cf6415a2f1093400 Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
* CoordinateAnimation: fix direction interpolationIvan Solovev2021-08-312-8/+8
| | | | | | | | | | | | | | | | | The interpolation for the West and East directions were actually confused. When the CoordinateAnimaion.East direction was selected, the interpolation was done in West direction and vice versa. This patch fixes the issue. [ChangeLog][CoordinateAnimation][Important Behavior Change] The value of direction property for CoordinateAnimation is now handled correctly. Previously the values were confused, so specifying CoordinateAnimation.East direction was actually leading to moving West and vice versa. Pick-to: 6.2 Change-Id: I8e73fc4ad5cabd80bca38c624c70919e54c55127 Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
* Update dependencies on 'dev' in qt/qtlocationQt Submodule Update Bot2021-08-311-3/+3
| | | | | Change-Id: I7ac9c84dd585dc4fef037c55a3d928ebc73d33e7 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>