| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This avoids conflicts for static builds, where the system might
also provide a clipper2tri, clipper, or poly2tri library.
[ChangeLog][General] The generated clipper2tri, clipper,
poly2tri libraries have been renamed to qt_clipper2tri, qt_clipper,
qt_poly2tri. This avoids conflicts for static builds.
Pick-to: 5.15
Fixes: QTBUG-86248
Change-Id: I38261633acef1d3be0cb5b67b3b5bf3262258a95
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
|
|
|
|
|
|
|
|
| |
Make some variables auto so that we no longer care whether they're
QHash or QMultiHash.
Change-Id: Idbefdbd6134ac862d44403f8ba1dcbf8bf5cd761
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
|
|
|
|
|
| |
Change-Id: Ieae01bc4669cdd503f97399c622989795a0ad734
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
|
|
|
|
|
|
| |
Task-number: QTBUG-84469
Change-Id: Iefd2fb627602ef4744d80858eee72a089ef5f4ec
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
|
|\
| |
| |
| | |
Change-Id: If3ebc0821be0d0206522adf8ff10040e80e34414
|
| |
| |
| |
| |
| | |
Change-Id: I5ec9c700a0b69a556512efbd0bfd79c4c2119f9a
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
|
|\ \
| |/
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Conflicts:
src/imports/location/location.cpp
The change fixes the bare minimum of what needs to be done
to compile and run. This includes the following issues:
1. Fix build failures as a result of QMetaType changes in qtbase
moc now stores the QMetaType of properties as a result of
46f407126ef3e94d59254012cdc34d6a4ad2faf2 in qtbase, which requires
full type information about the property type inside the moc generated
source file.
Many of the property types were forward-declared, and this resulted
in build errors like:
"invalid application of 'sizeof' to an incomplete type 'QDeclarativeGeoMap'"
2. Adopts QtQML API changes. A private QJSValue ctor was removed.
The "replacement" is QJSValuePrivate::fromReturnedValue(..).
3. The mapboxgl 3rdparty backend does not compile at this point in time
and seems unmaintained. For the time being, the mapboxgl backend is disabled
in the interest of keeping qtlocation closer to dev HEAD of other
Qt modules.
Change-Id: I756e1c2effb29eaaf96a61a28c1c17338774b77c
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
With this change, all the geo-to-screen conversion,
and the triangulation operations for geo polylines
and geo polygon are performed either at set time
or in the shader.
A separate bounding box geometry is processed
in the old way to provide a correct QtQuick Item
geometry, that can be used for nesting mouse areas,
performing translations, input event delivery, etc.
With this approach, performance are improved by more
than one order of magnitude in average, but complex
geometries will of course benefit more.
It also adds correct rendering support for polygons
with holes, previously only rendered correctly
by the MapboxGL plugin.
The polyline shader has basic miter joins. The miter is
skipped if the angle is too sharp to avoid complicating
the implementation.
This shader introduces some glitches when the polyline
is minified, for which the real fix is to
have LOD for the geometry, and render simplified
geometries at low zoom levels (added in a subsequent patch).
Note: this approach, at least in its current implementation,
does not support enabling layers on individual items, only
on the Map element.
Task-number: QTBUG-49303
Task-number: QTBUG-38459
Change-Id: I0c2dc0bf364d32f74ca7c4014f6d66e6219c8ae4
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
|
|\ \
| |/
| |
| | |
Change-Id: If5c3274ecf7e19b55ca54db21405d2908d8b14ae
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Problem resulting in failure when calling the contains() method.
This patch caches the leftbound that is used in many other
methods.
This patch also fixes the copy constructor, now correctly
converting rectangles and circles into polygons.
Tests are added in a subsequent patch.
[ChangeLog][QtPositioning][QGeoPolygon] Fixed contains method.
Change-Id: I324e5a6e9bf981f830a8bb88e5f2abedb5ece5dd
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
|
| |\
| | |
| | |
| | | |
Change-Id: Iae2b08cdf4f64d69bedeabf4633fd34b44a02ad0
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
startSatelliteUpdates() and lastKnownPosition() were not checking
Android permissions before trying to access positioning data.
Task-number: QTBUG-81689
Change-Id: Ia4d75920b7b07c6782d80a483a3e3961ed9149f5
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
|
|\ \ \
| |/ /
| | |
| | | |
Change-Id: I453207cbd09ee4901def858193f33d8cef80a2dc
|
| | |
| | |
| | |
| | |
| | | |
Change-Id: Iefab6ee7738f422de9d491f70e7461b30e73c624
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
|
|\ \ \
| |/ /
| | |
| | | |
Change-Id: Iea2f0f612ee83e3d7bd1dfed47de296f4cc34038
|
| |/
| |
| |
| |
| |
| |
| | |
It is being deprecated.
Change-Id: I33a411f9b2fc18feabd3cc8d7f3a44b353e25639
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Fix missing/incorrect parameter documentation, linking warnings, and
\instantiates references to undocumented/internal classes.
Remove mention of Navigator::currentRoute, as such a property no longer
exists.
Fixes: QTBUG-79811
Change-Id: I048a13109aa19f3db75e76611473d60a2396f028
Reviewed-by: Topi Reiniƶ <topi.reinio@qt.io>
Reviewed-by: Paul Wicking <paul.wicking@qt.io>
|
|\ \
| |/
| |
| | |
Change-Id: Iedb067b49389712361041a84db0e53c0706205b8
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
After ac899dcc4, createDefaultSource() uses the first available position
plugin to create an info source - even if that is not valid. The
non-deterministically sorted list of plugins results a flaky behavior,
especially when two plugins (geoclue2 and serialnmea) have the same priority
and one of them is unconfigured and not supposed to work.
Bring back the ability to find the first valid position plugin.
Change-Id: I82947e59252ac3727478fe14fd328338b54b4dea
Reviewed-by: Paolo Angelelli <paolo.angelelli@qt.io>
|
|\ \
| |/
| |
| | |
Change-Id: I01b84e7523be32815e618a7f512160de467d3bea
|
| |
| |
| |
| |
| |
| | |
Fixes: QTBUG-78616
Change-Id: I06d5291a9bb388483c58464d86ca5a2a9692f99a
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>
|
| |\
| | |
| | |
| | | |
Change-Id: Id543d32c49c8efd1d7798d41bbee0e28c1742e12
|
| | |
| | |
| | |
| | |
| | | |
Change-Id: I786ab35a0e9c8dfa2c8124692289d98e8eee4a8d
Reviewed-by: Topi Reiniƶ <topi.reinio@qt.io>
|
| |\ \
| | |/
| | |
| | | |
Change-Id: Ie8e4e01faad54b7a38aa3b96a769c4893a5cfb58
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Change-Id: Ic739e3d7fe4df81e97be77c4294aa422dfcd6344
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
Reviewed-by: Maurice Kalinowski <maurice.kalinowski@qt.io>
Reviewed-by: Paul Wicking <paul.wicking@qt.io>
|
|\ \ \
| |/ /
|/| |
| | |
| | |
| | |
| | | |
Conflicts:
.qmake.conf
Change-Id: I206cf010f01d2acdad05357e992a2703e5392aab
|
| |\ \
| | | |
| | | |
| | | | |
Change-Id: Ifb3e30bbad659239e28f4aa79e769e7b429fb9e4
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Change-Id: Iab6e89c016eb25ea99edcdc88e1191604157b4b9
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
This patch fixes a few inconsistencies in the newely added features.
Change-Id: Icdf1c9208fd0d5ab1d6ec6d87fcc5be5072c3f58
Fixes: QTBUG-77865
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
This adds a new class, QNmeaSatelliteInfoSource, locally
to the plugin, that behaves similarly to
QNmeaPositionInfoSource in the way of handling the
IODevice and producing the updates.
Change-Id: Id594152dd70514974ac79c7757ce6f0da4631191
Fixes: QTBUG-59274
Reviewed-by: Paolo Angelelli <paolo.angelelli@qt.io>
|
| |/ /
|/| |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This allows the plugin to pipe the input stream into multiple,
independent processing pipelines.
Good for allowing multiple position sources from the
same serial port, and will allow supporting satellite info
source in the nmea plugin too.
Change-Id: I21e3cd2c78e7138ca49821c68b55ce96eb83e986
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This change adds a pair of setter/getter to specify positioning backend
properties at runtime, both in QGeoPositionInfoSource and
QDeclarativePositionSource.
Task-number: QTBUG-66304
Change-Id: Iea9421fb708879bee5c62c4afaf45cbda57f50bb
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
|
|\ \ \
| |/ /
|/| /
| |/
| |
| |
| | |
Conflicts:
.qmake.conf
Change-Id: I4f76eed0a59b602696c3f2c1c76df75246c69092
|
| |
| |
| |
| |
| |
| | |
Task-number: QTBUG-74391
Change-Id: I80ad167400fc2c61c310adef8b00df70b42404dd
Reviewed-by: Paul Wicking <paul.wicking@qt.io>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
With this patch the QDeclarativeGeoServiceProviderParameter in the
location-private module becomes QDeclarativePluginParameter in the
positioningquick-private module.
This renamed class is then registered, under the same QML typename
"PluginParameter" both in QtPositioning and QtLocation qml plugins.
In this way it will become possible to use the same type both inside
QtLocation "Plugin" and inside QtPositioning "PositionSource",
and regardless of which is the QML plugin that provides
"PluginParameter", this will translate into the same cpp type.
[ChangeLog][QtPositioning] Exposed PluginParameter also from
QtPositioning qml plugin, to be used in PositionSource as replacement
of environment variables.
Task-number: QTBUG-66304
Change-Id: I1d982ff689130ae896c616480567aa12d9b49c3a
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
|
|/
|
|
|
|
|
|
|
|
|
| |
QGeoPositionInfoSourceFactoryV2 exposes factory methods that accept
plugin parameters as argument, and can be used to configure a given
plugin when requesting a source.
Task-number: QTBUG-66304
Change-Id: If93a0746fddc6ff4074e771db1376c3b3fc67122
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
|
|\
| |
| |
| |
| |
| |
| | |
Conflicts:
.qmake.conf
Change-Id: I5700c90ee86873599b5e7c9ccb6cef7ca48153e7
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
By default, the method computes a closed-loop length.
Being this public API, the only thing that can be done is to properly
document the behavior.
[ChangeLog][QtPositioning] Documented QGeoPath::length behavior properly.
Change-Id: Ie48a51ab0d11ec68851c2ea26b8c6f6894be8b61
Fixes: QTBUG-71358
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This singleton is meant to offer tech-preview map-related API.
It starts with a mapObjectsAt invokable, that can be used to probe
MapObjects at a specific coordinate of a map.
Reference implementation for Q*ObjectQSG, based on QGeoShape::contains,
included.
Change-Id: Ief692eb5a43115ca02d4642c82023d1b2e217400
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
In this way MapObjects become a little closer to MapItems,
and this property can be used to, for example, center the map
on one specific object or object group.
Fixes: QTBUG-69640
Change-Id: I4dbead9e670bf5d1eeaccb2bd09d956b8de7da87
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>
|
| |
| |
| |
| |
| | |
Change-Id: I36dd6881b6f6f028869d63b6311cba7f52a99cc4
Reviewed-by: Paolo Angelelli <paolo.angelelli@qt.io>
|
|\ \
| |/
| |
| |
| |
| |
| | |
Conflicts:
.qmake.conf
Change-Id: I8d0881209c8b0a0dce4ed949ef89ee2679448420
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This patch fixes the case when one QGeoRectangle contains the
second, and wraps around.
Change-Id: I7110c1864082c502845754fab2dc4e783455a446
Fixes: QTBUG-72935
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
|
|\ \
| |/
| |
| |
| |
| |
| | |
Conflicts:
.qmake.conf
Change-Id: I0724ca9ffbb8099f698b090a4fdd993fad2c2302
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This is useful because on several platforms supportedPositioningMethods()
returns NoPositioningMethods while the user has disabled the Location service.
At the same time the platforms can only support dynamic
supportedPositioningMethodsChanged() notifications after startUpdates() was called.
Blocking changes to this property would have been counterproductive as startUpdates() would
always fail and notification would not be possible.
This affects at least WinRT and Android and Apple platforms need still
further investigation.
Task-number: QTBUG-66427
Change-Id: Ie03a3ef9c9476d7be3547661eaa87678fdb7b39c
Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
In particular the differing levels of support on various platforms
needed documentation.
Task-number: QTBUG-66427
Change-Id: I4c390d14ad69e2f1630e883c8f0a34cbca028a03
Reviewed-by: BogDan Vatra <bogdan@kdab.com>
Reviewed-by: Timur Pocheptsov <timur.pocheptsov@qt.io>
|
|\ \
| |/
| |
| | |
Change-Id: Ic8ccf43538ad411edce061f24f05c627dab50a6b
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This enables the following code:
QGeoCoordinate coord(foo, bar);
QVariant v; v.setValue(coord)
qDebug() << v;
Change-Id: I3cc66c359d6be8b8ab9471170ae8763e08c3b3e9
Reviewed-by: Paolo Angelelli <paolo.angelelli@qt.io>
|
| |
| |
| |
| |
| |
| |
| |
| | |
Fixes: QTBUG-62682
Fixes: QTBUG-68331
Change-Id: Ibd08934e2b6da06a6b6ff24419e53b87fb2eaa20
Reviewed-by: Paolo Angelelli <paolo.angelelli@qt.io>
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This patch introduces 2 versions of QGeoPath/polygon private:
a lazy version (default) and an eager version.
The reason is that certain classes such as MapItems make heavy use
of the bounding box of the geoshapes, as well as the contains
method, and in those cases it's beneficial to have it eagerly
computed and cached.
Other use cases do not see this feature so much in use, and the added
costs, both in terms of computation and in terms of memory requirements
for cached data can be avoided.
As the patch currently stands, using copy constructors for
QGeoPath and QGeoPolygon with a QGeoPathEager and a QGeoPolygonEager
(and vice-versa) changes the type of d_ptr.
This means that doing, for example, QGeoPath(someQGeoPathEager)
effectively returns a QGeoPath that behaves like a QGeoPathEager
(although not being one).
Change-Id: I8cfed1e0a747139d0fb6d5fb5236bf5f5fbf24c1
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
|