Add debug to test case.

To help debug a test failure in CI.

Change-Id: I2d8c8ac3e873c80bf6c4c317dfc0db19d7a1255a
Reviewed-by: Aaron McCarthy <mccarthy.aaron@gmail.com>
Copy qmldir of test import to destination directory.

Test imports, used only during tests, are not installed prior to running
tests. Copy the qmldir file to the output directory so that the tests
can successfully load the import.

Task-number: QTBUG-31797
Change-Id: I85095eb7532df6b1fc06f10e46ed8b4db41554a6
Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
Update QtPositioning QML API meta data including new 5.3 features.

Change-Id: Ic841572e3079c0f600c696b477d9f7220d130029
Reviewed-by: Aaron McCarthy <mccarthy.aaron@gmail.com>
Reviewed-by: Jim Ehrismann <jehrismann@blackberry.com>
Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
Fix translatable strings and cleanup unnecessary strings

1.) Reduces the amount of translatable strings as console/qmlInfo() output
is not translated.

2.) Unused error messages have been removed

3.) Additional translation hints have been added.

Change-Id: I59ef36bd75ab1f6d4878657212884e1251b8a04e
Reviewed-by: Aaron McCarthy <mccarthy.aaron@gmail.com>
Fix unstable PositionInfo test.

The speed reported by the position source can vary due to the system
load and scheduling during the test. Increase the tolerence.

Change-Id: I26c0e6a9c19cfe73f7c1c24b133dbd3cc5abc04e
Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
Remove test code related to removed gestures.

Rotate and tilt gestures were recently removed. Some of the related test
code was left in which is now failing.

Change-Id: Iadb5b40cb5e2740f331453b673b89948fb829e51
Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
Map item geometry do not need to be QObjects.

Change-Id: I078c9eb57ad5a2aa70fde8900ec46958aa1882e1
Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
Remove unnecessary code.

I don't see much point in using custom Point classes. QPointF is
already fully inline and constexpr.

Change-Id: Ie7a854831e78d8e3ce4777a558d203765b53c9f0
Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
Use 512 pixel tiles from the Nokia/HERE service.

Task-number: QTBUG-36949
Change-Id: I80fe3762b7e8f4dc1b7d56a43d6ab22788c0b702
Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
Fix QtLocation QML API and its version.

Despite missing QtLocation 5.3 release we will fix the QML Location
API as of 5.3 release time. This does not affect the C++ API.

We keep the 5.0 version tag but 5.3 becomes the defacto standard.

Change-Id: I93838a97a01c8b886a86e8b2bab3dedc595a2ee6
Reviewed-by: Aaron McCarthy <mccarthy.aaron@gmail.com>
Bump all qml code to QtLocation 5.3

It is the baseline for all subsequent additions.

Change-Id: Ia56da45b8b92dd0224dbeff97976cd06aa25d943
Reviewed-by: Aaron McCarthy <mccarthy.aaron@gmail.com>
Position plug-ins don't need QtGui

Task-number: QTBUG-36893
Change-Id: I54f71f3369e82edfadb679cb5ed27e3dd0a78c0e
Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
Normalize signal & slot signatures in connection

Profiling shows Qt Creator spends 2% of its load time normalizing

Change-Id: Ica52c45e34fe53823b31faaa7d77a633458549d5
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
Fix compile warning

Change-Id: Ic00ce63f769e87e222759c5c896e7cc741e31795
Reviewed-by: Aaron McCarthy <mccarthy.aaron@gmail.com>
Prefer to use normalised signal/slot signatures

Change-Id: I8425c141add90f58aefcf2b9706f9d6328382644
Reviewed-by: Marc Mutz <marc.mutz@kdab.com>
Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
Tile cache versioning for Nokia maps

Added to avoid mixing of different map versions in map view.

Generic cache versioning by adding an incremental version number to
tile specs and filenames. Default version -1 falls back to not using
version in file names for backward compatibility.

Nokia specific version management by implementing the version request,
comparing all version information and increment the version if anything
has changed.

Task-number: QTBUG-25559
Change-Id: I6820f2efbe7458701475cc833d3077022797b2df
Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
Fix some typos

Change-Id: If46057e48040fda7b61b81e735c171daf2cc7d06
Reviewed-by: Jerome Pasion <jerome.pasion@digia.com>
Emit updateTimeout() when regular position updates aren't received.

The documentation indicates that the updateTimeout() signal should be
emitted once when the source determines that regular updates will no
longer be received.

[ChangeLog][QtPositioning][Geoclue] The Geoclue position source now
emits the updateTimeout() signal when position updates do not arrive in
a timely manner.

Change-Id: I87c31a60a8e718a0ab72a1e270a93e967307f77a
Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
Send requested update interval to Geoclue providers.

Send the requested update interval to the active Geoclue provider. The
update interval is sent by passing and 'UpdateInterval' option to the
provider. Not all Geoclue providers support this setting, in which case
they will report position changes at their default rate.

The Geoclue position info source no longer limits the rate of position
updates internally.

[ChangeLog][QtPositioning][Geoclue] The Geoclue position info source
provider no longer internally filters position updates to the
requested update interval.

Change-Id: I96a112575173d4fa485905b1885a98fe43da1153
Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
Merge remote-tracking branch 'origin/stable' into dev

Change-Id: I06fe61d44bce186a118978f17fb66d6fc2cdd543