Set default preferred positioning methods for Geoclue position source.

Set the default positioning methods used by the Geoclue positioning
source to all positioning methods.

Change-Id: I62196cc0203642838104cb5a0dafa06b1df29190
Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
Fix incorrect accuracy values reported by Geoclue plugin.

Initialize variables to valid (unknown) values as they will not be
assigned to if accuracy data is not available with the current position
update from Geoclue.

Change-Id: Icdca528da86df9a2a95acf1cc6704a9c39485fe2
Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
Fix a dangling pointer use

toLocal8Bit returns a temporary, so we must not keep a pointer to the data
inside it

Change-Id: I8fa4138c15acce0005e304b5206585fcd1a5e56b
Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
Don't require applications to declare metatypes.

These metatypes need to be declared for common usage of the positioning
API. Declare them in the library header files so that applications are
not forced to do so.

[ChangeLog][QtPositioning][General] Applications no longer need to
register common Qt Positioning data types with the metatype system.

Change-Id: I1d28ec8e33d20efc748cb6a0a2ad302e2061853f
Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
Revert "Don't require applications to declare metatypes."

This reverts commit 5679a86968a6a26f8427b9c979f89f6ea5198d2f

Change was source incompatible.

Change-Id: Ied25ca3503a41e498a5c9b710e7a0dd3787bbe89
Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
Remove QtQml dependency from QtPositioning.

The QtQml dependency was only required for the QML_DECLARE_TYPE macro.
Since Qt 5.0 use of this macro is not required.

Add missing includes which were being pulled in via QtQml.

Task-number: QTBUG-33220
Change-Id: Ief6ab94e25b4bc5cb753672908b09f7e772df1c8
Reviewed-by: Alex Blasche <alexander.blasche@digia.com>