summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Update dependencies on '6.2.0' in qt/qtlocation6.2.0Qt Submodule Update Bot2021-10-041-3/+3
| | | | | Change-Id: Id62df48393b744656f1edc84df0b411da55cc3d2 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on '6.2.0' in qt/qtlocationQt Submodule Update Bot2021-10-041-1/+1
| | | | | Change-Id: Ibf727788f298e769429eaa02eda6cd1adfc62fbb Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update QT_REPO_MODULE_PRERELEASE_VERSION_SEGMENTIikka Eklund2021-10-031-1/+1
| | | | | | | | Current value should be empty to reflect the branch status. Pick-to: 6.2 Change-Id: I84763777145929b16d9da5875744b7184473d00b Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
* Update dependencies on '6.2.0' in qt/qtlocationv6.2.0Qt Submodule Update Bot2021-09-251-3/+3
| | | | | Change-Id: I047bc36420fa931cf1dc07d0fe171c1ab447294e Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on '6.2.0' in qt/qtlocationQt Submodule Update Bot2021-09-221-3/+3
| | | | | Change-Id: I19838786ea1b33dd53a2365e8de6beedf6bdf277 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on '6.2.0' in qt/qtlocationv6.2.0-rc2Qt Submodule Update Bot2021-09-211-3/+3
| | | | | Change-Id: I358e32d4834a0e208314bee137b378f00465628c Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on '6.2.0' in qt/qtlocationQt Submodule Update Bot2021-09-191-3/+3
| | | | | Change-Id: Iaa3a76cd30382b353d2ddcd84628f9b29baed32c Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on '6.2.0' in qt/qtlocationv6.2.0-rc1Qt Submodule Update Bot2021-09-141-3/+3
| | | | | Change-Id: Ia7a24b4d7698fbea0233f238d259892684f3eebd Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on '6.2.0' in qt/qtlocationQt Submodule Update Bot2021-09-111-3/+3
| | | | | Change-Id: I5f2b0f86ce556e8cd16778e00a5670607854b5cc Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on '6.2.0' in qt/qtlocationQt Submodule Update Bot2021-09-111-3/+3
| | | | | Change-Id: Ib8bb18b6be85f807ae6880132e55bfbcc38f55f6 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on '6.2.0' in qt/qtlocationQt Submodule Update Bot2021-09-101-3/+3
| | | | | Change-Id: I57d1b58c6064471b08b3cd5d5666799b826fb0f0 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on '6.2.0' in qt/qtlocationQt Submodule Update Bot2021-09-101-3/+3
| | | | | Change-Id: Ifed77c2c8cdace7393393b78cb0d13a334d10f03 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on '6.2' in qt/qtlocationQt Submodule Update Bot2021-09-081-3/+3
| | | | | Change-Id: I72b50c99d21bd6baa1fa1983005382ee7990beb2 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on '6.2' in qt/qtlocationQt Submodule Update Bot2021-09-071-1/+1
| | | | | Change-Id: I24b1b5045c6090cc1c33392f5260eb20b654b343 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on '6.2' in qt/qtlocationQt Submodule Update Bot2021-09-071-3/+3
| | | | | Change-Id: I052010a08674e101e82c4dc86f4f66cc67c2c5eb Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on '6.2' in qt/qtlocationQt Submodule Update Bot2021-09-061-3/+3
| | | | | Change-Id: I641de4a6ba4c1f12a087b8ebb1f8218c9020b7c1 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on '6.2' in qt/qtlocationQt Submodule Update Bot2021-09-061-1/+1
| | | | | Change-Id: I90bb5ce776433223e32e00ce084ae2191af08a15 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on '6.2' in qt/qtlocationQt Submodule Update Bot2021-09-041-3/+3
| | | | | Change-Id: I4cbb63efcfa21884e6dbd1aab485b6a92caf7d16 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on '6.2' in qt/qtlocationQt Submodule Update Bot2021-09-041-3/+3
| | | | | Change-Id: I7eace72a3e1d91cfe8237c6e92d8baf4878f8aa8 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on '6.2' in qt/qtlocationQt Submodule Update Bot2021-09-041-3/+3
| | | | | Change-Id: Ia497b06df08c1d891d82d12b781d1ee8795b7848 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on '6.2' in qt/qtlocationQt Submodule Update Bot2021-09-031-3/+3
| | | | | Change-Id: I44cf87851a52bdddc01b44006630384e82e5a957 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on '6.2' in qt/qtlocationQt Submodule Update Bot2021-09-031-3/+3
| | | | | Change-Id: I4d0cc32263992e53f45f9b8db62dade68bb6e908 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on '6.2' in qt/qtlocationQt Submodule Update Bot2021-09-021-1/+1
| | | | | Change-Id: I8bc51b79ddb282f1045a45b67fdb35a9d22404d8 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on '6.2' in qt/qtlocationv6.2.0-beta4Qt Submodule Update Bot2021-09-021-3/+3
| | | | | Change-Id: Ic23717e433950699788f1a15f156934b4278efcb Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on '6.2' in qt/qtlocationQt Submodule Update Bot2021-09-011-3/+3
| | | | | Change-Id: Ia78a475640b32c5779ca5da08790472f224bf471 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on '6.2' in qt/qtlocationQt Submodule Update Bot2021-09-011-3/+3
| | | | | Change-Id: Ie1c27b22edf3389fd0c740d559c40b0b67dae65e Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on '6.2' in qt/qtlocationQt Submodule Update Bot2021-08-311-3/+3
| | | | | Change-Id: Iafaacdd9b367b93846e9eab83b99666cd95614f8 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. Change-Id: I9ebd5900a5ca331ef5846a06cf6415a2f1093400 Reviewed-by: Alex Blasche <alexander.blasche@qt.io> (cherry picked from commit 5042f54a13899242fa508be7c6531b479236bfc3) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* 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. Change-Id: I8e73fc4ad5cabd80bca38c624c70919e54c55127 Reviewed-by: Alex Blasche <alexander.blasche@qt.io> (cherry picked from commit 965c80c5db88dd94b666228d432b226c496c9d30) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Update dependencies on '6.2' in qt/qtlocationQt Submodule Update Bot2021-08-301-3/+3
| | | | | Change-Id: Iaf86205e91dc2f03f00e5a8d501128ee692d22a1 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* QtPositioning: add conan supportIvan Solovev2021-08-262-0/+79
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch adds conan support to QtPositioning part of the qtlocation repo. Since QtLocation is not yet ready for Qt 6, this should work fine. Later we will need a way to figure out, how to support two modules in one repo. The recipe uses Conan's supported way to inherit from a given base class via 'python_requires_extend'. The qt-conan-common package implements a base class for Qt leaf module recipes. The build steps in leaf modules are mostly identical so it makes sense to put those in the base class. Dependencies are read by the base class from the 'dependencies.yaml' which is the same file the CI system uses. This recipe defines an option which should not be passed to 'qt-configure-module(.bat)' thus it implements the abstract 'is_qt_module_feature()' from the base class. The base class reads the option(s) and default option(s) via 'get_qt_leaf_module_options()' and 'get_qt_leaf_module_default_options()' which are merged by the base class into the base options defined by the base class. Task-number: QTBUG-90800 Change-Id: Ie302d9566b2a49a80fe8dd251eb43d5f5af6aa0e Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io> Reviewed-by: Toni Saario <toni.saario@qt.io> (cherry picked from commit 60bbe4249eff95cafd1d77228d3c81d1c0664f3d) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Update dependencies on '6.2' in qt/qtlocationQt Submodule Update Bot2021-08-251-3/+3
| | | | | Change-Id: I5a65abac6305f925f57fbf3afec12405ad8e3404 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Introduce WeatherApi backendIvan Solovev2021-08-2414-133/+480
| | | | | | | | | | | | | | | | | | | | | | | | | This patch introduces the weather backend from weatherapi.com and provides the means to switch between backends at runtime. This will be done automatically in case one of the backends does not respond. As we currently use different backends, we had to update the QML part that is responsible for showing the icons. We no longer use the icons from web-site for the forecast, but use the same icon set as for the current weather. This required introducing methods to convert backend-specific weather icon information to a common format used in the application. While on it, a new type of weather icon was introduced (taken from the same icon set). Different weather backends provide weather forecast for different amount of days (due to license restrictions), so the QML code now makes use of the Repeater that dynamically changes the amount of shown days. Task-number: QTBUG-60467 Change-Id: Ic9aa3a97ec440dddb38f06edfff8a8434724d118 Reviewed-by: Alex Blasche <alexander.blasche@qt.io> (cherry picked from commit 6458b9b60a016bbe0ad6574a1965c49dcd9383f3) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Weatherinfo: update documentationIvan Solovev2021-08-242-7/+25
| | | | | | | | | | | | | | | Mention multiple data providers and the related limitations. As a drive-by: update the example image, because the previous one was showing the temperature in Fahrenheit, while the application currently uses Celsius. Task-number: QTBUG-60467 Change-Id: I47f3c118a47e840ff048bfa273b80c0b13a50808 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io> Reviewed-by: Alex Blasche <alexander.blasche@qt.io> (cherry picked from commit aa773a4a2c7253e39796b3b9068fb7269254d2e8) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Introduce weather data cacheIvan Solovev2021-08-245-48/+164
| | | | | | | | | | | | | | | | | This patch introduces weather data cache. Before sending a request to weather provider, the cache is checked, and if the corresponding weather information exists in the cache and is not outdated, then it's used in the application. While working with GPS location, the cache does not perform a direct comparison of coordinates. Instead it checks if the new coordinate is in the specified area around the cached one, or not. Task-number: QTBUG-60467 Change-Id: I150a1023587be656ee8b190d1c2bce667c6301e2 Reviewed-by: Alex Blasche <alexander.blasche@qt.io> (cherry picked from commit 0d908c344c80cfcadb5ea1bb964bd4d8332d8803) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Move OpenWeatherMap support to separate backend classIvan Solovev2021-08-248-275/+545
| | | | | | | | | | | | | | | | | | | | | | | | | | The idea is to provide support for multiple backends in the weatherinfo application. This patch introduces class hierarchy for the backends and moves current OpenWeatherMap support to a separate class, so that it can later be replaced at runtime. During the refactoring the number of requests is also optimized (we now perform 2 requests instead of 3 to get the information about one city). Currently the OpenWeatherMap backend is used directly as a property of AppModelPrivate. More backends will be added in the following patches, and a mechanism to switch between them will be provided. The code for limiting the amount of the requests is currently removed. It will be replaced by a weather data cache in the following patches. As a drive-by: fixed a memory leak in the AppModel. Task-number: QTBUG-60467 Change-Id: I90daac9451e4c14749a1725c4a04afce0d4b7467 Reviewed-by: Alex Blasche <alexander.blasche@qt.io> (cherry picked from commit 5de1a40705bbb6b60b5d9fd1010e847743676734) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Use the new QML CMake API for examples, tests and docsCraig Scott2021-08-235-72/+41
| | | | | | | | | | | | The qt6_qml_type_registration() command will become internal. Update the examples, tests and docs to no longer call this command and use the new QML CMake API available from Qt 6.2 instead. Task-number: QTBUG-95093 Change-Id: Ibd62ccb4e2723a64d8a2c4418982037419d19855 Reviewed-by: Ulf Hermann <ulf.hermann@qt.io> (cherry picked from commit 03b026e2c46ac8badd7391897b67a54358479bfa) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Update dependencies on '6.2' in qt/qtlocationQt Submodule Update Bot2021-08-211-3/+3
| | | | | Change-Id: Id6ef55d6f40ba3df9872d7d4e44c90955a467de0 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on '6.2' in qt/qtlocationQt Submodule Update Bot2021-08-201-3/+3
| | | | | Change-Id: I8ed74812e0e032396ffae7170f6283abda09484c Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on '6.2' in qt/qtlocationQt Submodule Update Bot2021-08-191-3/+3
| | | | | Change-Id: Id463eee7a14a50e5e8dc918f578d5acb6ab6b61b Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on '6.2' in qt/qtlocationQt Submodule Update Bot2021-08-181-3/+3
| | | | | Change-Id: Id507de0779d204f9bf0c70e456f3121ff98fb7b7 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on '6.2' in qt/qtlocationQt Submodule Update Bot2021-08-171-3/+3
| | | | | Change-Id: I811a361a59de41ddf5287b7dc89b97da604e2457 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Raise cmake_minimum_required to VERSION 3.16 in examplesJoerg Bornemann2021-08-174-4/+4
| | | | | | | | Task-number: QTBUG-95636 Change-Id: I821f412f9dbe11ae99ffd888a7ab2ba415ed9379 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io> (cherry picked from commit 5dc2785f672b627c0c9714787c99c28d67307ca2) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Update dependencies on '6.2' in qt/qtlocationQt Submodule Update Bot2021-08-171-3/+3
| | | | | Change-Id: I29a80ba468513e7433ec32413fa8094072cdd5f2 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on '6.2' in qt/qtlocationQt Submodule Update Bot2021-08-161-3/+3
| | | | | Change-Id: Ib7edda43798efe1a9a8a822ee499192b133cbf56 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on '6.2' in qt/qtlocationv6.2.0-beta3Daniel Smith2021-08-121-3/+3
| | | | | Change-Id: Ifb4bdffb4e68eded2982408e78db2713bd14939a Reviewed-by: Daniel Smith <Daniel.Smith@qt.io>
* Update attribution files for clip2tri and poly2triIvan Solovev2021-08-123-6/+6
| | | | | | | | | | | | | | | | Update the qdoc modules in the attribution files, so that they get listed under the common licenses page. Update homepage for poly2tri, because the old page is no longer available. As a drive-by: fix authors page encoding for poly2tri. Task-number: QTBUG-94418 Change-Id: Ifb0488f1f88010932a14e1e18d03551d8b5a2efe Reviewed-by: Alex Blasche <alexander.blasche@qt.io> (cherry picked from commit ea889dc636f134516a236c653a579a609fc0aea6) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Update clipper to version 6.4.2Ivan Solovev2021-08-123-21/+28
| | | | | | | | | | | Also update the qdoc module in attribution file, so that it is listed on the licenses page. Task-number: QTBUG-94418 Change-Id: I101c577854141d00a4d43da25009769cc94c2ac7 Reviewed-by: Alex Blasche <alexander.blasche@qt.io> (cherry picked from commit cbe3f64048fa0ad31e0ff4b95bc4324e4e849242) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Update dependencies on '6.2' in qt/qtlocationQt Submodule Update Bot2021-08-111-1/+1
| | | | | Change-Id: Idd258db7e7dd91eab6c057630eae989d05c2f889 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Fix static buildIvan Solovev2021-08-1014-32/+27
| | | | | | | | | | | | | | This patch fixes the "Bundled_Clip2Tri not found" error during static QtPositioning build. Fix backend plugins so that they get automatically linked in static build. Fixes: QTBUG-95582 Change-Id: Iea31c23a055689d9b8f6471345558b330795f597 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io> (cherry picked from commit 5c91b37a5b592c4c062f4386d83653c2170d1c07) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>