summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoralex <alex.blasche@nokia.com>2011-09-05 10:48:14 +1000
committeralex <alex.blasche@nokia.com>2011-09-05 10:48:14 +1000
commiteb60562b2b9e779817cc0cdfa95710e779def499 (patch)
tree2ae4ef145490fe01250f96d5de75439cc6749beb
parentb4db389b70cab549b17a56f40091ef2bd15bd874 (diff)
Make it very obvious that old 1.1 based Map elements are gone.
They don't work anymore. This was a deliberate change as Maps elements received substantial behavior and API changes in Mobility 1.2. The 1.1 version was only ever meant to be a preview.
-rw-r--r--doc/src/plugins/qml-location.qdoc9
-rw-r--r--plugins/declarative/location/qdeclarativegraphicsgeomap.cpp3
2 files changed, 12 insertions, 0 deletions
diff --git a/doc/src/plugins/qml-location.qdoc b/doc/src/plugins/qml-location.qdoc
index 02a92b055e..125cb624c4 100644
--- a/doc/src/plugins/qml-location.qdoc
+++ b/doc/src/plugins/qml-location.qdoc
@@ -87,6 +87,15 @@
\section2 Map Elements
+ While the Maps elements were already available as an early preview in QtMobility 1.1
+ the elements received considerable API and behavior changes in QtMobility 1.2. Therefore
+ the elements are \bold{no longer available as 1.1 import}. QML applications \bold{have to change}
+ their import statement to 1.2. Applications using any Map element in QtMobility 1.2
+ via a QML 1.1 import will fail to work.
+
+ Applications wanting to target QtMobility 1.1 and 1.2 at the same time must deploy
+ two different QML import statements based on the QtMobility version being used.
+
\annotatedlist qml-location-maps
\section1 Landmarks
diff --git a/plugins/declarative/location/qdeclarativegraphicsgeomap.cpp b/plugins/declarative/location/qdeclarativegraphicsgeomap.cpp
index ef70132e4b..2e80f9fb44 100644
--- a/plugins/declarative/location/qdeclarativegraphicsgeomap.cpp
+++ b/plugins/declarative/location/qdeclarativegraphicsgeomap.cpp
@@ -99,6 +99,9 @@ QTM_BEGIN_NAMESPACE
MapObjects or the Map item itself.
The Map element is part of the \bold{QtMobility.location 1.2} module.
+
+ \bold{API break notice:} Any previous \code import QtMobility.location 1.1 \endcode statement
+ for Maps elements will no longer work since QtMobility 1.2.
*/
QDeclarativeGraphicsGeoMap::QDeclarativeGraphicsGeoMap(QDeclarativeItem *parent)
: QDeclarativeItem(parent),