Fix declarative_core unit test

There are still some bugs caused by V4 but more dedicated bugs but it is
more important to get the current unit test running . We rather skip the
problematic cases.

A lot of warnings have been fixed as well.

Task-number: QTBUG-31798
Change-Id: I1fccf26db5c47563baeaf6c2d6366d3c10aee824
Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
Reviewed-by: Aaron McCarthy <mccarthy.aaron@gmail.com>
Stop skipping declarative_core tests.

These test cases were failing due to regressions in QML and have since
been fixed. See QTBUG-33542, QTBUG-33546 and QTBUG-33561.

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

Change-Id: I7f649542227dcdeb062b0b8368a301334fa9969b
Remove RouteModel::locale property.

I missed that the functionality was already available in Plugin. The
measurementSystem property is retained.

Change-Id: Id65aa29cb7078d3be7310081278a032edc25bf0d
Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
Add 5.2.1 change log

Change-Id: I83dce160ed57ec7a567c815a98cf17fc160a3b2d
Reviewed-by: Aaron McCarthy <mccarthy.aaron@gmail.com>
Fix run-time warning when using Geoclue positioning plugin.

The Geoclue plugin requires that the QGeoPositionInfo meta type is
registered.

Change-Id: I1310868ffd5d57539c3b790b4de1ba9c8396c580
Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
Android: Avoid unnecessary methodId lookups (use a cache instead)

This is a performance improvement.

Change-Id: If3115078ae3247f9f888982b922a77c9cd92fe91
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@digia.com>
Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
Android: Fix crash while retrieving GPS based location.

The satellite backend was not properly guarded from the location backend.
As a consequence satellite updates were triggered while
the user only requested position updates. This caused uninitialized
satellite code to be exeuted which caused an abort.

Change-Id: I4a7511d49ba795fb6a4fc8e9c723ef1260c5c9a5
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@digia.com>
Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
Don't use QString if not required (Performance improvement)

Change-Id: I80cf4dcd98c45169b31ee1659122020ce27b29ea
Reviewed-by: hjk <hjk121@nokiamail.com>
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@digia.com>
Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
Attempt to fix flaky QNemaPositionInfoSource_Simulation test on Windows

The failure was discovered by https://codereview.qt-project.org/#change,75481
We increase the timeout for the local tcp connection as the likely
reason is an overworked CI system.

In addition we add more verbose output to easy the failure detection
in case this happens again.

Change-Id: I44ee52fcb957dcaa5aca4a6932221a34ce3f2af7
Reviewed-by: Kai Koehne <kai.koehne@digia.com>
Remove byte order marker which causes problems with older compilers

Task-number: QTBUG-36187
Change-Id: Ie20ec6e802f44a6fa6757b914289736c4421138b
Reviewed-by: Lars Knoll <lars.knoll@digia.com>
Fix coordinate animation test.

The Map was starting at coordinate 0,0, which the test was not
expecting. Fixed by disabling animation when setting the starting
coordinate.

Task-number: QTBUG-31797
Change-Id: I5cadb28ad667d321b2c3e6440e0698e0ad59ed8e
Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
Use GenericCacheLocation to share downloaded data between applications.

Change-Id: I3e075719c950b7c3c380937cbee3aed402d40f8a
Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
Fix tryCompare call with 2 parameters.

Change-Id: I2a10bd93bfef53af567777c85d794f07621d179d
Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
Merge branch 'release' into stable

Change-Id: I82706858585256cbb23278250d870c54d6c4b085
Bump MODULE_VERSION to 5.2.2

Change-Id: I4bff11ac65bb72b37e2540bb1d3f6fba24472db6
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Merge "Merge branch 'release' into stable" into refs/staging/stable
Fix killing timer in different thread.

It was possible for another thread to attempt to stop the timer used by
the tile fetcher.

Change-Id: Ic44cf416bc7e6c987c4b5c9914a1c7d911dbbea5
Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
QDeclarativePositionSource::{supported|preferred}PositioningMethods() always return AllPositioningMethods

Also added unit test for preferredPositioningMethods()

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

Conflicts:
	.qmake.conf
	src/plugins/position/geoclue/qgeopositioninfosourcefactory_geoclue.cpp

Change-Id: Iae3f3c00d46c903e2fa6c1dd49876839362f8001