diff options
author | Alex Blasche <alexander.blasche@digia.com> | 2013-10-22 11:59:55 +0200 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-10-24 09:59:32 +0200 |
commit | 544fed97c25a7c6adb32f003f3c67aa85bc2e137 (patch) | |
tree | 8b0433f8fc15a1052fdef9bfa841575b6afa76bf /src/imports/positioning/positioning.cpp | |
parent | 71dffcd319c2641e1022bf857f9c72671cb1446a (diff) | |
download | qtlocation-544fed97c25a7c6adb32f003f3c67aa85bc2e137.tar.gz |
Introduces 5.3 QML APIs.
Existing 5.2 QML APIs automatically become available
under 5.3 import tags too
Change-Id: I5101c63eaaa00a124475bbc7f60fda0eecfde6ec
Reviewed-by: Erik Mattsson <erik.mattsson@appello.com>
Reviewed-by: Anders Gunnarsson <anders.gunnarsson@appello.com>
Reviewed-by: Aaron McCarthy <mccarthy.aaron@gmail.com>
Diffstat (limited to 'src/imports/positioning/positioning.cpp')
-rw-r--r-- | src/imports/positioning/positioning.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/imports/positioning/positioning.cpp b/src/imports/positioning/positioning.cpp index 9b4de734..669a2624 100644 --- a/src/imports/positioning/positioning.cpp +++ b/src/imports/positioning/positioning.cpp @@ -128,8 +128,9 @@ public: qmlRegisterType<QDeclarativeGeoLocation >(uri, major, minor, "Location"); // Register the 5.3 types + // Introduction of 5.3 version; existing 5.2 exports automatically become availabe under 5.3 as well minor = 3; - qmlRegisterType<QDeclarativeGeoCoordinateAnimation>(uri, 5, 3, "CoordinateAnimation"); + qmlRegisterType<QDeclarativeGeoCoordinateAnimation >(uri, major, minor, "CoordinateAnimation"); } else { qDebug() << "Unsupported URI given to load positioning QML plugin: " << QLatin1String(uri); } |