| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This patch changes the implementation of the scenegraph-based
mapobjects (those created by QGeoTiledMap) to be the recently
introduced one sporting shader-based map projection.
This is much faster than the previous, but may introduce small glitches
at this time (mostly on minified polylines).
Adding polyline LOD simplification will solve this problem.
Compared to equivalent Map Items (that is, Map Items backed by the
same underlying implementation), map objects now are approximately
1.5x faster.
This measure has been gathered using medium-size polygons (contained
in the file 10_countries.json from the geojson_viewer example).
The difference is caused by the additional QtQuick geometry related
operations (essentially projecting the bounding box for each item)
present in MapItems.
Smaller polygons may therefore yield larger improvements, larger polygons
the opposite.
Change-Id: I3fc92b02b74a3a4d001e69755949a98f80d8a3d3
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
|
|
|
|
|
|
|
|
| |
The new approach introduces a root node for all objects, that is
repopulated at every repaint.
Change-Id: I4562e1aaa18999a03e8c38fe3bf59fe41f14dd70
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|\
| |
| |
| |
| |
| |
| | |
Conflicts:
.qmake.conf
Change-Id: I0df7503351f8388d825e3f56e307cbb65de56541
|
| |
| |
| |
| | |
Change-Id: I97117774bcc43ca624679dd9c9b9dbabf90491e1
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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: I55fe45a818496229291c1b40ae0e29f322ac2da9
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
+ c3ddde72ec3be53eeb5d41a69ceec3c407f474a2 Fix GCC 9 -Wdeprecated-copy warning
+ d24ba64b514a46105df408c86413ebdf33d98af2 Add binary compatibility files for qtlocation 5.14 branch
+ 5ec322a7572fca8cfb3b9d4cb30bcff5fbe6eed1 Bump version
Change-Id: I9468771183c3144a9d1c33a025a0a76d0ec85c91
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
|
| | |
| | |
| | |
| | |
| | | |
Change-Id: Iefab6ee7738f422de9d491f70e7461b30e73c624
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
|
|\ \ \
| |/ /
| | |
| | | |
Change-Id: I81acc98f1602d20d810e5d792fc670bdaa8b1821
|
| |/
| |
| |
| |
| |
| |
| |
| | |
Update instance of old code using JNI_VERSION_1_4 to make the code
consistent.
Change-Id: Icdb8d152c69f32f1050b51bdb7985acc3364fbf4
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>
|
| |
| |
| |
| |
| | |
Change-Id: I1705757d3530ed595912dba726cab50f003f103d
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Set parent for incubated objects in MapObjectView to the view.
Also properly set component completed when removing the view from
a map and then readding it.
Finally silence the useless warning about MapObjectView
being unsupported, as the default MOV is basically what's wanted.
Change-Id: Iecbc345ced99754d0d09112b4b30eaca2bb078e5
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Also emitting signals when the parent is changed internally
(e.g., in a MapObjectView).
Not revisioning it since it is used both in QtLocation
and in Qt.labs.location, and setting it to 15 would break
the property in map objects.
Change-Id: Ib11b18b7fcc507b5a11481f84f2bf0bd8c9f558e
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
|
| |
| |
| |
| |
| | |
Change-Id: I15f7cae7efc58279d76e9ac7d0be3b7fd63ae1cd
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This is a slot directly connected to the socket's signal. This means,
deleting the socket from the slot leaves the socket's code that was
emitting with an invalid 'this' pointer.
Fixes: QTBUG-81069
Change-Id: I5b915f8d103809b80d1af34655eaa5231bddc7a6
Reviewed-by: Timur Pocheptsov <timur.pocheptsov@qt.io>
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Which is QNetworkReply::error(). Use QNetworkReply::networkError()
instead.
Task-number: QTBUG-80369
Change-Id: Id41166a72c0d14bc77d9ec853db2f665617195ee
Reviewed-by: Mårten Nordheim <marten.nordheim@qt.io>
|
| |
| |
| |
| |
| |
| |
| | |
This patch also parents it with the object also fixing memory leaks.
Change-Id: I74a21176b1d2450b10a21f92321520ca2c6e88e0
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
|
|\ \
| |/
| |
| |
| |
| |
| | |
Conflicts:
.qmake.conf
Change-Id: Iccbd3c3f2162973d407a31b02ea6911f3c1d5b31
|
| |
| |
| |
| | |
Change-Id: Iceb3a6747659df54d265d7b8f3974e4b2e11babd
|
| |\ |
|
| | |\
| | | |
| | | |
| | | | |
Change-Id: Ic904924227e0276e59381548fc54ee51117ddb5a
|
| | | |
| | | |
| | | |
| | | |
| | | | |
Change-Id: I72a37bcbe4d16ca2d77f8f19f2a7901c118db052
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
|
| | | |\
| | | | |
| | | | |
| | | | | |
Change-Id: Id2e7b0a3d3ecefdee377094fa10a1bea4a71d06c
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
On iOS if an application is put into the background after it was
authorized to allow location updates "Only Once" then when it is brought
back it is no longer getting updates. Therefore we need to rerequest the
authorization so that it can continue to get updates.
Change-Id: I72804a7c7e82524e40aab049175e2d8f7dfee469
Reviewed-by: Paolo Angelelli <paolo.angelelli@qt.io>
|
|\ \ \ \ \
| |/ / / /
| | | | |
| | | | | |
Change-Id: I0dc35c36208833779d26d5090859baf43199eb9a
|
| |/ / /
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
BC file built against 5.14.0 added.
Change-Id: I11ce479a65a05d8816d234fdab9f3319575dfa7b
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
|
| | |/
| |/|
| | |
| | |
| | |
| | |
| | |
| | | |
error: implicitly-declared ‘QGeoRouteLeg& QGeoRouteLeg::operator=(const QGeoRouteLeg&)’ is deprecated [-Werror=deprecated-copy]
note: because ‘QGeoRouteLeg’ has user-provided ‘QGeoRouteLeg::QGeoRouteLeg(const QGeoRouteLeg&)’
Change-Id: Iad959315ad374ef288f5fffd15d68cba005f9e01
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Remove entries duplicated in the !android scope, fixing:
Makefile:1664: warning: ignoring old recipe for target 'sub-qgeosatelliteinfosource'
Makefile:1889: warning: overriding recipe for target 'sub-qnmeapositioninfosource'
Change-Id: I38b9fe8abd9adb21d7a9a497916d9868f5bfa786
Reviewed-by: Paolo Angelelli <paolo.angelelli@qt.io>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
It is being deprecated.
Change-Id: I33a411f9b2fc18feabd3cc8d7f3a44b353e25639
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
|
|\ \ \
| |/ /
| | |
| | | |
Change-Id: I95c7e221498d875eb407a3165c2b9e1be2a8b347
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
qmlRegisterType without uri and major version is deprecated.
Change-Id: I772f7734301bec7cb0e20a6bbc1e4f7b513248b9
Fixes: QTBUG-80043
Reviewed-by: Paolo Angelelli <paolo.angelelli@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: Ifa572a6e1c0835e0ca6d5bf85cde1db854604cf6
|
| |
| |
| |
| |
| |
| |
| | |
[ChangeLog][QtLocation][MapboxGL] Added support for image sources
Change-Id: I5334f36e033d26824300d90ad8d9aacf3ac75ac3
Reviewed-by: Paolo Angelelli <paolo.angelelli@qt.io>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
[qt] Fix building on Windows with Clang and libc++
[qt] Make image source url update possible
Change-Id: Ie9a562dffc1389c864fc08b3157a45ebf061960b
Reviewed-by: Tadej Novak <tadej@tano.si>
Reviewed-by: Thiago Marcos P. Santos <tmpsantos@gmail.com>
Reviewed-by: Paolo Angelelli <paolo.angelelli@qt.io>
|
| |
| |
| |
| |
| |
| |
| | |
Emit on mapReady changed, and do not emit before then.
Change-Id: I1d5c657119cb63989cfa35f58ce57d24833f6438
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
|
| |
| |
| |
| |
| |
| | |
Task-number: QTBUG-78690
Change-Id: Ica3ae02c5429167d41b0a332d448a4c9d9eb3bbd
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
|
|\ \
| |/
| |
| | |
Change-Id: Ia876d943c684fbefddd693f00a16b2f2cec18223
|
| |\
| | |
| | |
| | |
| | |
| | |
| | | |
Conflicts:
.qmake.conf
Change-Id: I21ae20734645fc34b302409163f7400015d8302c
|
| | |
| | |
| | |
| | |
| | |
| | | |
Change-Id: Ie02e3ea6135e443bcb3143e74d5ca0460e6ab7a8
Fixes: QTBUG-79489
Reviewed-by: Paolo Angelelli <paolo.angelelli@qt.io>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Change-Id: I2900e1ccc5291148fdc7801c1b6af43ea611db28
Fixes: QTBUG-78712
(cherry picked from commit 9ac4e00e21f5fd7a1a53343d1cf9f4fcaeff01a5)
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Something must have changed in Qt json API/parser, or in the return
value of nominatim.
Either way, place_id is now an int.
Change-Id: Ic340bed9c556665ce1114966d6b9157a3f380ad3
(cherry picked from commit 7533c81ccef992b0e932b299cdb1257d21e012d2)
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This removes connections in map items to react on map changes.
A further improvement could be replacing item lists with QSets.
This might however have implications with plugins which
might expect ordered items.
Change-Id: I52dbd64ed22762b1e2d51d1bc38f496346e7a664
Fixes: QTBUG-76950
(cherry picked from commit 2bb07804f32e0c9cc7948a5cff0bcef81ae9d8c9)
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
|
| | |\ |
|
| | | |\
| | | | |
| | | | |
| | | | | |
Change-Id: Id219d193d849fc9ada3e80467030fa1cbf5c1191
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
+ a13506d54409a78ee13a84052b78050a2f686832 Binary compatibility file for Qt5.13.0 for QtLocation
+ aa8bb4d64864e0c3cfb9374a367e783602b75eba Improve debugging in mapboxgl plugin when running without opengl backend
+ 1de7ca6175bd3e4a542a038a089cfd73c9eaa27a Add changes file for Qt 5.12.5
+ 720beeb3f768af5e89538dfe0429e31138e84e3c Doc: Fix link to Qt for UWP docs in Qt Positioning module docs
+ 118dac89625a8f713bb12e7e9f30bc37b10754b7 Doc: Fix link errors and complete parameter specs
Change-Id: I97bfb22e68a92312470a9364cbe41184ba4cd7f3
Reviewed-by: Paolo Angelelli <paolo.angelelli@qt.io>
|
| | | | |
| | | | |
| | | | |
| | | | | |
Change-Id: I61859d05f74b395cbe742e9f9be7f1c8d0dd5c19
|