| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
Pick-to: 6.2
Task-number: QTBUG-90800
Change-Id: Ie302d9566b2a49a80fe8dd251eb43d5f5af6aa0e
Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
Reviewed-by: Toni Saario <toni.saario@qt.io>
|
|
|
|
|
| |
Change-Id: Id3ffbe27a803510a940b62da2cf5820f4589f369
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
Pick-to: 6.2
Change-Id: I47f3c118a47e840ff048bfa273b80c0b13a50808
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
Pick-to: 6.2
Change-Id: Ic9aa3a97ec440dddb38f06edfff8a8434724d118
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
Pick-to: 6.2
Change-Id: I150a1023587be656ee8b190d1c2bce667c6301e2
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
Pick-to: 6.2
Change-Id: I90daac9451e4c14749a1725c4a04afce0d4b7467
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
|
|
|
|
|
|
|
|
|
|
|
| |
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
Pick-to: 6.2
Change-Id: Ibd62ccb4e2723a64d8a2c4418982037419d19855
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
|
|
|
|
|
| |
Change-Id: I8a7bb7e3f62cf6d3320aa650d5972b5f9b8895fa
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
|
|
|
|
|
| |
Change-Id: Ie35612a89682995cd3ff61b4ab7ee2b4154be6b6
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
|
|
|
|
|
| |
Change-Id: I06de9e9ba7bfab7b3824d97c6f2ff103a6e248c6
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
|
|
|
|
|
| |
Change-Id: Iaf7889ae0904c0e8fa365d5960b4a225cc3033da
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
|
|
|
|
|
|
|
| |
Pick-to: 6.2
Task-number: QTBUG-95636
Change-Id: I821f412f9dbe11ae99ffd888a7ab2ba415ed9379
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
|
|
|
|
|
| |
Change-Id: Ic8b995a5bb56128dbc9abf002e2942a2549c69f4
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
|
|
|
|
|
| |
Change-Id: Ia3fad6485b1dd4d90a54f02dc5ff31804f977066
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
|
|
|
|
|
| |
Change-Id: I527081657b29e41b7c7ac5cc4000d9fae08aa0f7
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
|
|
|
|
|
| |
Change-Id: I233bec790809e05237780d421a8f32d0e7810e1a
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
Pick-to: 6.2
Change-Id: Ifb0488f1f88010932a14e1e18d03551d8b5a2efe
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
|
|
|
|
|
|
|
|
|
|
| |
Also update the qdoc module in attribution file, so that it
is listed on the licenses page.
Task-number: QTBUG-94418
Pick-to: 6.2
Change-Id: I101c577854141d00a4d43da25009769cc94c2ac7
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
|
|
|
|
|
| |
Change-Id: Id63ba44c4fee6d4e5cd3b1b490238a3b9561fa93
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
|
|
|
|
|
| |
Change-Id: Ia0bca01b98753aac5a91f00535ac8d540569b504
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
Pick-to: 6.2
Change-Id: Iea31c23a055689d9b8f6471345558b330795f597
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
|
|
|
|
|
|
|
| |
Task-number: QTBUG-95170
Pick-to: 6.2
Change-Id: I041d949a1b5d3097f756befb1d03ed3734665f82
Reviewed-by: Kai Koehne <kai.koehne@qt.io>
|
|
|
|
|
| |
Change-Id: Ia56afeeeacb6d3084673d1ada18bb97d631398c9
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
|
|
|
|
|
| |
Change-Id: Ibb881b17eb808dbd5a19066b865fb88762c8a2db
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
|
|
|
|
|
|
|
|
|
| |
Amends bc9ddc25379b969b8e751a192ba66093a7b7dbc2
Pick-to: 6.2
Task-number: QTBUG-90819
Change-Id: I91d61a86d7ea79b371de7586b3406bd3b3d3c66b
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
|
|
|
|
|
| |
Change-Id: I2741495f73fd0c0c4a71e2a5f3190e8ef156b9a6
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
|
|
|
|
|
|
|
|
|
| |
This patch fixes the qdoc warnings that were introduced during previous
refactoring and documentation rewrites.
Pick-to: 6.2
Change-Id: I3bd32141cc37720abd40738f09d0c08152e8b9d2
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Previously the plugin was taking the device name from a hardcoded path
in the GConf parameters.
This patch adds the possibility to specify the device in two ways:
* use 'gconfKey' parameter to specify the GConf key, that should be
used to extract the device name;
* use 'deviceName' parameter to specify the device name directly.
If none of these parameters is specified, the old behavior is used,
i.e. the plugin uses the hardcoded GConf key to try to extract the
device name.
Task-number: QTBUG-74995
Pick-to: 6.2
Change-Id: I7c911630a2d367310e62764a1660171a6856e27b
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
|
|
|
|
|
|
|
|
|
| |
This patch adds a separate documentation page for the Gypsy plugin.
Task-number: QTBUG-74995
Pick-to: 6.2
Change-Id: Id07d9ebee60de98ad780cb015a7278d74e68f0d9
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
|
|
|
|
|
| |
Change-Id: Ic52ae32a0fbb3607f4610457559f9f5a4475bf09
Reviewed-by: Daniel Smith <Daniel.Smith@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
| |
Gypsy daemon provides the satellite_id of the available satellites, but
this information was never used before.
We can also try to determine the satellite system based on the satellite
identifier.
Task-number: QTBUG-74995
Pick-to: 6.2
Change-Id: I7eba052034ddb7b64d91a81381d136bf9f2ddeca
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
There is no need in using the environment variable to set the desktop id
parameter.
This patch introduces parsing of the desktop id parameter from the
provided plugin parameters.
It also introduces a separate page with the plugin documentation.
Task-number: QTBUG-74995
Pick-to: 6.2
Change-Id: Ie59e2410709dc9517b305f0b490d35c6718ce9ba
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
|
|
|
|
|
|
|
| |
Fixes: QTBUG-94898
Pick-to: 6.2
Change-Id: If6916b84976bac35a5553686d5d79ea9f7ca11af
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
|
|
|
|
|
| |
Change-Id: I9e4a277b723108efa9857d02580599390652eddf
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Applying qRound() to check if the minutes/seconds should overflow was
not the right solution in some cases. It could lead to incorrect
overflows, and so - to wrong conversion results.
The actual logic of overflow is related to the behavior of QString::number.
This patch fixes the logic and also introduces some minor optimizations.
After overflow, the minutes or seconds value is always 0.0, because
the actual minutes/seconds value is always in range [0; 60). This allows
us to get rid of some checks.
Fixes: QTBUG-95221
Pick-to: 6.2 5.15
Change-Id: Ie3dcb6cef226b04c43dd973c09c4ae297c583f3b
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
|
|
|
|
|
| |
Change-Id: I31f691f019dc24a43322cfabe098859024329156
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
|
|
|
|
|
|
|
|
|
|
| |
The public permission API is being postponed until 6.3, for now,
we can use the private API.
Pick-to: 6.2
Change-Id: I02f94402e6fe3f3eecf24526438a5c7ff06399b5
Reviewed-by: Ivan Solovev <ivan.solovev@qt.io>
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
|
|
|
|
|
|
|
|
|
|
|
| |
Add the description of Position Accuracy - a 3D accuracy value.
Qt does not provide it directly, but it can be calculated based on
horizontal and vertical accuracy values.
Task-number: QTBUG-64694
Pick-to: 6.2
Change-Id: Ic043b2d3a8198fc3ec77f0c5af1ff83934a47044
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
|
|
|
|
|
|
|
|
| |
Task-number: QTBUG-95163
Pick-to: 6.2
Change-Id: I6b867a27095c26dbc803609b7d0da6d23cd46249
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
|
|
|
|
|
| |
Change-Id: Ic4c89cda2bb56d5862d705f0d057ec75d50944ac
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
|
|
|
|
|
|
|
| |
Task-number: QTBUG-95163
Pick-to: 6.2
Change-Id: I837faa1ae9ebcfb0fba170dbfcc0dbd5be2d8fc2
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This patch adds qHash overloads to QGeoShape hierarchy, allowing to use
the classes as keys in QHash.
Note that the actual qHash overload is required only for the base type.
All the derived classes are correctly hashed using the virtual method
in private d_ptr.
Task-number: QTBUG-95163
Pick-to: 6.2
Change-Id: I186f9d396e698187ebf0363d96c19e324db10905
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
|
|
|
|
|
| |
Change-Id: Ie43231bc828333cb0dd55775deeb20ee2be78fb8
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
|
|
|
|
|
| |
Change-Id: Iaa40d5c4e4768b3c70b377da928a3fa83d909cc5
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
|
|
|
|
|
| |
Change-Id: I77540be59c37e925056b76dc8ee2879f57b10fb9
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
|
|
|
|
|
| |
Change-Id: Ic7698a8ac7c28c375fac2ba82bf91b310f864ee2
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
|
|
|
|
|
| |
Change-Id: I39ecb500ff82c49e8a5dd7b9a509cc03f8f66dcb
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
|
|
|
|
|
|
|
|
|
|
| |
Add move-constructor and move-assignment operator, as well as a swap
method. Specialize the type as shared using Q_DECLARE_SHARED.
Task-number: QTBUG-95163
Pick-to: 6.2
Change-Id: Idcb42414b3d60526e7cd55ea3ead53324c7cbc58
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
|
|
|
|
|
|
|
|
|
|
| |
Add move-constructor and move-assignment operator, as well as a swap
method. Specialize the type as shared using Q_DECLARE_SHARED.
Task-number: QTBUG-95163
Pick-to: 6.2
Change-Id: Ie5e3bd319f9386c7e864122994a5dbcf0fb81240
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
|
|
|
|
|
| |
Change-Id: I5c96fdecc6c0365484461874135a2760069cf858
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
|