Android: Fix crashes due to insufficient resource cleanups

Task-number: QTBUG-37789

Change-Id: I9971fd1e9e63dedbbfe86e567e701bab688cf144
Reviewed-by: Christian Stromme <christian.stromme@digia.com>
Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
Fix typo

Change-Id: I04183182a9db9dc169390fe5c77a92588f40347b
Reviewed-by: Mitch Curtis <mitch.curtis@digia.com>
Document supported/available platforms for QtLocation & QtPositioning.

The synchronizes the API doc's front page layout with qtconnectivity and
qtsensors.

Change-Id: I91e966f3c3ac3638e697340eabbfb529f9feaf2c
Reviewed-by: Jerome Pasion <jerome.pasion@digia.com>
Fix compilation for embedded Android

Cannot use the java plugin

Change-Id: I0b52170f56596081ccd4c5eb7c1ab54bad281d88
Reviewed-by: Christian Stromme <christian.stromme@digia.com>
Simplify the detection of a QtSimulator build

We don't need the cumbersome CONFIG+=simulator flag. Now we automatically
build it.

Change-Id: Iab20816856ec1d79965b980a17e668d04d3d9258
Reviewed-by: Rainer Keller <rainer.keller@digia.com>
Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
Avoid blocking simulator backend during its construction

This avoids a race condition when QDeclarativePositionSource::start()
is called before the simulator backend has returned from its eventloop.
The disadvantage is that the first returned set of position data may be
invalid until the initial data set was pushed by the emulator.

Change-Id: I6a8b4330bc50ced154afd2a6248bb0dd3e151c9f
Reviewed-by: Rainer Keller <rainer.keller@digia.com>
Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
Avoid excessive QImage::fill/copy in copyright handler

This fixes two problems. The first is that an empty copyright string
would result in the image being regenerated over and over again.
The second problem is that the code would allocate a fullscreen image
regardless of the size of the copyright watermark and then do
QImage::copy() to crop it to the displayed size. Needless to say,
this took a bit more time than strictly required.

Change-Id: Ia8d76e1cb34793439f92e7bb3ae00a8e99ffdc5e
Reviewed-by: Robin Burchell <robin+qt@viroteck.net>
Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
Ignore invalid center coordinates on maps

This causes undefined behavior and plenty of painter errors due to the
occurrence of NaN.

At the same time we change the default center to
London. Previously it was in the middle of the Atlantic. This led to
confusions because the all-blue display was mistaken for
nothing/empty/invalid tiles (which is represented by grey). By showing
the city of London we ensure that the default shows an easily
recognisable area.

Change-Id: I65a99d69d961b00a899120e190030e08a5ca0498
Reviewed-by: Robin Burchell <robin+qt@viroteck.net>
Reviewed-by: Gunnar Sletta <gunnar.sletta@jollamobile.com>
Remove QDoubleVector*d symbols only needed by QtLocation

It causes random linker errors on Windows. Now the conversions are
done manually.

Task-number: QTBUG-37785
Change-Id: I5586b314d1f55a75464920f23a23f77a08b45d89
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
Merge remote-tracking branch 'origin/stable' into dev

Change-Id: Ib061722a7ebc4b26bf132c67a005910f2d39400f