| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
So far this method returned all existing positioning methods and not
the available methods. Availability is defined by customer settings
like turning location off or only enabling GPS based positioning.
Task-number: QTBUG-66427
Change-Id: Id5b58ee4cc0274bae90ed2e363cb5cf2a287dc05
Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
Reviewed-by: Timur Pocheptsov <timur.pocheptsov@qt.io>
Reviewed-by: Paolo Angelelli <paolo.angelelli@qt.io>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
When "uturn" comes from OSRM, Qt returns UTurnLeft since Right Hand
Traffic is in use in most countries.
This commit allows qml to set traffic side to return correct u-turn
direction.
Task-number: QTBUG-72462
Change-Id: Ifaa002b063159b4e4ee563d007721ba7a4a587a4
Reviewed-by: Paolo Angelelli <paolo.angelelli@qt.io>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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>
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Android's platform API supports this piece of information since
API version 26.
Fixes: QTBUG-64689
Change-Id: I09cce4979f3f754cb9af11281de2fe0050b74da1
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This makes it much easier to check received positions outside of
debug/console output. Regular updates cannot be received inside a
building which means a device can be taken out of the office for further
testing without the need to have a developer machine attached.
Change-Id: I1a54a1b2fa269ec4ab75aacc4531158a02345382
Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
|
| |
| |
| |
| |
| |
| |
| | |
They make it impossible to find any other file.
Change-Id: I9abe8ea08befab52c00e1d1e60262c637905fbbc
Reviewed-by: Paolo Angelelli <paolo.angelelli@qt.io>
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Since Android uses a new NDK/compiler since 5.12 there were many more warnings
which had serious implications. Examples are potentially flawed downcasts,
nullptr warnings and old style casting operators.
Change-Id: I53989fa9120c8b7e865d23255d1fcdf229e7f2f3
Reviewed-by: Paolo Angelelli <paolo.angelelli@qt.io>
|
|\ \
| |/
|/|
| |
| |
| |
| | |
Conflicts:
.qmake.conf
Change-Id: Ifd3514a958d0df4320b253c26e3da3a632088be8
|
| |\
| | |
| | |
| | | |
Change-Id: I0aed0065d1a7a17821be82594ae4f14dba2b5665
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
+ ce1767d724e26012cfcd2eae0143ec9a87984046 Use the correct name for the resource when building statically
+ 8a7bde9b93208259de65d6b1aef21d21b495b6d7 If a category has UnspecifiedVisibility then we should still match
+ f9a1c4a18a3421617e28d2c26d30b011d22a0229 Amend 8a7bde9b93 to correctly account for the UnspecifiedVisibility case
+ 6b109d09982e09940dc8e777430a04410d7b6550 Fix crash when calling QGeoPath::length on empty QGeoPath instance
+ ee700d2eeb4508aa5356ddef11bf11964c5d9283 Mapbox: Only include matching categories in the results
+ 25c6840ff6585ca9f7ab1c168cdcdd18a68c7885 Bump version
Change-Id: Ie25e5020441b8e0b2b2dcb8f2fc56d68681c69a0
Reviewed-by: Kai Koehne <kai.koehne@qt.io>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Apparently unable to resolve QPointers to pointers
Change-Id: I04b3b7698ea083f83bc2713530656ca8b3f3ac28
Fixes: QTBUG-69512
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
In this case, only border geometry was marked dirty, producing a
misplaced polygon.
Fixes: QTBUG-70886
Change-Id: Ied39e523a584976871a655e436daf8c2700458b6
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
|
| |/
| |
| |
| |
| |
| |
| |
| |
| | |
Order of touch events are not sorted on some platform. When touch point
1 and
2 are swapped, map is rotated 180 degrees in a moment
Change-Id: I9c308b805a6ca54519f26a9ff19217de7f947c17
Reviewed-by: Paolo Angelelli <paolo.angelelli@qt.io>
|
| |
| |
| |
| | |
Change-Id: I9eb138dde3677e25a6c40681bd2e1f7fa4765d10
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
If an entry in the results had no categories specified at all then it
would end up including this in the results even if a specific category
was requested to match against.
Change-Id: I506b40b73ec07608bd2b2562d92065376fbb67c9
Reviewed-by: Paolo Angelelli <paolo.angelelli@qt.io>
|
| |
| |
| |
| |
| |
| | |
Fixes: QTBUG-72291
Change-Id: Id2c2ce04e12f1470b08e93ec3512ab39b4054f7d
Reviewed-by: Paolo Angelelli <paolo.angelelli@qt.io>
|
| |
| |
| |
| |
| |
| |
| |
| | |
qtlocation/src/plugins/position/android/src/qgeopositioninfosource_android.cpp:226:
warning: implicit conversion loses integer precision: 'qint64' (aka 'long long') to 'const int'
Change-Id: I64df529028aac88f1b6e05c72cfba0a9ed6c9a7f
Reviewed-by: Paolo Angelelli <paolo.angelelli@qt.io>
|
|\ \
| | |
| | |
| | | |
Change-Id: I53b052e12532392192d73da7006b204539cad57c
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
The original name was correct as clear would need to reset more
properties which is was not the goal of this method.
Change-Id: Iac43a61e4b8bf57220c88d627b33578612c4ddad
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
|
| | |
| | |
| | |
| | |
| | | |
Change-Id: Ib5609e2fa3d76c7372a0362502288eac6eee282a
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This patch updates the Nokia geo service plugin code to use
QRegularExpression in place of QRegExp which is to be considered
deprecated.
Change-Id: Idc7459351c6f1a1b12ba1528c426fced324039a1
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
GCC 4.8 doesn't like using QPointer in signal connections.
Change-Id: I9504efb259712a65427ef1366ca562882085404e
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
cb19e1f7e3cc2cfee3b8fcbdfa5cd151826dadac fixed a bogus comparison in
an if statement.
However, the correct condition is actually a bug, and should be removed
altogether. The previously incorrect condition was always testing
to false so the problem wasn't triggered.
Task-number: QTBUG-72180
Change-Id: Ia00b55596173474e8c0fe3b0c374490620c6917f
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This patch introduces a new macro, QT_LOCATION_DEBUG, that, when
fed via qmake command line, changes the scope of some members,
adds some extra members and some extra data dumping into these
members.
In this way external code can inspect the state of the renderer
in order to debug it.
The patch also moves a few classes into separate files, as well
as privately exporting them.
Change-Id: I32a042863f78dcd10f94b0b7fe8b90f3fc486891
Reviewed-by: Paolo Angelelli <paolo.angelelli@qt.io>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
According to MSDN GeoLocator's default ReportInterval is 1 second or as
frequent as the hardware can support – whichever is shorter. By using that
functionality we can support minimumUpdateInterval "properly".
Change-Id: Id54197babeec04c8fc0a309930b192e36d9138f8
Reviewed-by: Miguel Costa <miguel.costa@qt.io>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Windows' backend will complain if we try to set the report interval
while being subscribed to position changes so we have to remove this
registration and redo it when the new interval is in effect.
Change-Id: I5b3f23a7b6e530dd0a3f673e2b8ce6f5102b7eb1
Reviewed-by: Andre de la Rocha <andre.rocha@qt.io>
Reviewed-by: Miguel Costa <miguel.costa@qt.io>
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
We do not use the native callback's result but Windows' backend will
complain if we try to set some of GeoLocator's properties while we are
registered for status changes. By removing the callback registration we
get rid of these warnings.
Change-Id: Ic3829ee438c708fb4411ba94ba1202bb427e8815
Reviewed-by: Andre de la Rocha <andre.rocha@qt.io>
Reviewed-by: Miguel Costa <miguel.costa@qt.io>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
For some reason the native status is always Disabled for desktop builds
(even though the location service is running).
So with desktop builds we have to use requestAccess to gain information
about the state of the location service. As the functionality is async the
important parts of QWinRTFunctions are shadowed locally.
Change-Id: I575ee0b161de734c29453a7a07350bc8d09720e8
Reviewed-by: Andre de la Rocha <andre.rocha@qt.io>
Reviewed-by: Miguel Costa <miguel.costa@qt.io>
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Windows 8.1 is no longer supported
Change-Id: I00d103057a63abbcbc3ad3baa8ef93b35e07e819
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Gets rid of duplicated code.
Change-Id: I4635b23c5ae431867299eeeafd4bd260f8ba156f
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
|
| | |
| | |
| | |
| | |
| | | |
Change-Id: I641690a87dab2527493c3c16ffb476e4121d9ecb
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
|
| | |
| | |
| | |
| | |
| | | |
Change-Id: Ic9df2c2870184eacc2d1400fc51354ee1da0c288
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
If the QGeoPositionInfoSource is created in a command line app we cannot
rely on CoInitialize having been called by the event dispatcher before.
Fixes: QTBUG-71194
Change-Id: Id2a8fd22f7b4cf6e5c2629bf7dcd8319b585666e
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
Reviewed-by: Andy Shaw <andy.shaw@qt.io>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
get_Altitude and the like are marked deprecated and thus should not be used.
Use proper replacement functions as advised in Microsoft's
documentation.
Change-Id: I2166611a3133cadf9fb110242f231d76ca517932
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
|
| | |
| | |
| | |
| | |
| | | |
Change-Id: I74ce6e9433eb7ad0f065ea5c554a8c11dd690604
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
- Use nullptr instead of 0
- Use recommended way of including Qt headers
Change-Id: I170dbb5aa41a2dd4d10ff99c421da8a037cbe153
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
CategoryModel was missing an update call in the ::componentComplete
callback, as well as reacting on the name changed signal of the plugin.
An update call was also missing in the setPlugin method.
This patch makes it react on the attached signal instead, and
adds missing update calls.
Fixes: QTBUG-70254
Change-Id: I1a8de0137b4fe4af7c5ffc848799061147febba2
Reviewed-by: Michael Brasser <michael.brasser@live.com>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
A dangerous local reference with the same name of a member variable
caused the latter not to be evaluated and the former not to be set.
Change-Id: Iaadcc3bce36f56ed8eeb77374687cf33632abd2f
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Or else there's no reactive way to tell navigator objects when the user
changes this property.
Change-Id: Ief78facf537a50c15611127c5282c2bcfd59f8fd
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
Reviewed-by: BogDan Vatra <bogdan@kdab.com>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
The incubating indices bookkeeping was wrong.
This patch removes the bookkeeping and relies on the delegate
model doing the right thing when a row is gone but the
delegate still incubating.
Fixes: QTBUG-71264
Change-Id: Ibf5e525aa7ac79faf2fa149b52def05893d0bcc0
Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@qt.io>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Versioned win32-msvc legacy scopes have been deprecated and might yield
wrong results. As we do not support any versions older than the previously
checked ones an unversioned check is fine.
Change-Id: I234c5204c58e76a1a685f24c2aba316b1fe50508
Reviewed-by: Andy Shaw <andy.shaw@qt.io>
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@qt.io>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
While dbus might be available on other platforms, the plugin might not be
functional and thus should not be built on these.
Change-Id: I7671a3ecaba6944f99317eee4f7738a7df98ba10
Reviewed-by: Andy Shaw <andy.shaw@qt.io>
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This patch fixes rendering artifacts with polylines appearing
when rendering large polylines and/or at high zoom levels.
Two problems caused the artifacts:
1.A too close near plane when calculating the projectable region in
QGeoProjectionWebMercator, which presumably introduced numerical
errors when then using such a region to clip data to be projected
using a projection transformation based on the same frustum.
2.Projected polylines too large for qTriangulatingStroker, that would
then introduce artifacts at screen.
To solve 1., as a temporary solution, the distance of the near plane has
been increased to a value that seems safe for zoom levels < 19.
This while a better formula that scales further is being researched.
To solve 2., screen-space line clipping has been brought back from 5.8,
and added on top of mercator-space clipping. This, in theory, should
also increase the performance, allowing qTriangulatingStroker to process
less data.
Task-number: QTBUG-71607
Change-Id: Id774419dde819931e2fdd78b02081695a91302ef
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
We can now pass parameters to qdoc commands - use them to automate
the version bumps for documented QML imports.
Also, improve the structure and language on QML module pages.
Change-Id: Id56d36a9bc550ab9a1aea1af6ff8da83e5e1feb9
Reviewed-by: Paul Wicking <paul.wicking@qt.io>
Reviewed-by: Paolo Angelelli <paolo.angelelli@qt.io>
|
| | |
| | |
| | |
| | |
| | | |
Change-Id: Ic49ab959a028adc9edd60018351386d51b2a9bca
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Removing a local variable never used.
Change-Id: Id2517d0f326b16b4b4ad26e53e4115a33f44c7c2
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
|
|/ /
| |
| |
| |
| |
| |
| |
| |
| | |
Adds support for setting up Mapbox China API base URL + China
government-approved styles.
Change-Id: I66d9e15f336804466285e0996b0e326ef288be44
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
Reviewed-by: Paolo Angelelli <paolo.angelelli@qt.io>
|
|\ \
| |/
| |
| | |
Change-Id: I0f4a3b7bc7c5c7f8da5af631000a6d5156884efe
|
| |
| |
| |
| |
| |
| |
| | |
Fixes: QTBUG-71355
Change-Id: I47b058891a47cd6d020c4e192d40233c57814313
Reviewed-by: Timur Pocheptsov <timur.pocheptsov@qt.io>
Reviewed-by: Paolo Angelelli <paolo.angelelli@qt.io>
|