diff options
author | Alex Blasche <alexander.blasche@theqtcompany.com> | 2015-02-04 11:52:55 +0100 |
---|---|---|
committer | Alex Blasche <alexander.blasche@theqtcompany.com> | 2015-02-17 07:39:13 +0000 |
commit | f5ae66e0ee788c6f99dbd2fa2779d2550e0fb5bf (patch) | |
tree | 4c84f03b438a699ea9ec6947d1b4e86121285f99 /src/imports/positioning/positioning.cpp | |
parent | 138888ac0d95b33200eb710dce73bc54c4c7f66c (diff) | |
download | qtlocation-f5ae66e0ee788c6f99dbd2fa2779d2550e0fb5bf.tar.gz |
Prepare QtLocation & QtPositioning QML type definition for Qt 5.5
The GeoShape is compatibile as the class name changes but
the functionality and naming is the same in QML.
The QtLocation changes are additions which become available
and Qt 5.5. is the first official release anyway. Hence
the normal rules about \since do not apply.
Change-Id: I41d8afea955001845ab143535f6653fce715b9d8
Reviewed-by: Michal Klocek <michal.klocek@theqtcompany.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, 3 insertions, 0 deletions
diff --git a/src/imports/positioning/positioning.cpp b/src/imports/positioning/positioning.cpp index 561de9b5..64d29578 100644 --- a/src/imports/positioning/positioning.cpp +++ b/src/imports/positioning/positioning.cpp @@ -528,6 +528,9 @@ public: // Introduction of 5.4 version; existing 5.3 exports become automatically available under 5.4 minor = 4; qmlRegisterType<QDeclarativePosition, 2>(uri, major, minor, "Position"); + + minor = 5; + qmlRegisterType<QDeclarativePosition, 2>(uri, major, minor, "Position"); } else { qDebug() << "Unsupported URI given to load positioning QML plugin: " << QLatin1String(uri); } |