From 10141bb44a438cf428ce2ba385b4f7ef3b6de0d8 Mon Sep 17 00:00:00 2001 From: Alex Blasche Date: Mon, 24 Feb 2014 09:32:58 +0100 Subject: Bump all qml code to QtLocation 5.3 It is the baseline for all subsequent additions. Change-Id: Ia56da45b8b92dd0224dbeff97976cd06aa25d943 Reviewed-by: Aaron McCarthy --- examples/location/mapviewer/mapviewer.qml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'examples/location/mapviewer/mapviewer.qml') diff --git a/examples/location/mapviewer/mapviewer.qml b/examples/location/mapviewer/mapviewer.qml index 59a5de5c..9481676a 100644 --- a/examples/location/mapviewer/mapviewer.qml +++ b/examples/location/mapviewer/mapviewer.qml @@ -39,7 +39,7 @@ ****************************************************************************/ import QtQuick 2.0 -import QtLocation 5.0 +import QtLocation 5.3 import QtPositioning 5.2 import QtLocation.examples 5.0 import "content/map" @@ -546,9 +546,9 @@ Item { function createMap(provider){ var plugin if (parameters.length>0) - plugin = Qt.createQmlObject ('import QtLocation 5.0; Plugin{ name:"' + provider + '"; parameters: page.parameters}', page) + plugin = Qt.createQmlObject ('import QtLocation 5.3; Plugin{ name:"' + provider + '"; parameters: page.parameters}', page) else - plugin = Qt.createQmlObject ('import QtLocation 5.0; Plugin{ name:"' + provider + '"}', page) + plugin = Qt.createQmlObject ('import QtLocation 5.3; Plugin{ name:"' + provider + '"}', page) if (plugin.supportsMapping() && plugin.supportsGeocoding(Plugin.ReverseGeocodingFeature) && plugin.supportsRouting()) { @@ -558,7 +558,7 @@ Item { minimap = null } - map = Qt.createQmlObject ('import QtLocation 5.0;\ + map = Qt.createQmlObject ('import QtLocation 5.3;\ import "content/map";\ MapComponent{\ z : backgroundRect.z + 1;\ @@ -611,11 +611,11 @@ Item { } function getPlugins(){ - var plugin = Qt.createQmlObject ('import QtLocation 5.0; Plugin {}', page) + var plugin = Qt.createQmlObject ('import QtLocation 5.3; Plugin {}', page) var tempPlugin var myArray = new Array() for (var i = 0; i