diff options
author | Alex Blasche <alexander.blasche@qt.io> | 2017-12-07 16:03:54 +0100 |
---|---|---|
committer | Alex Blasche <alexander.blasche@qt.io> | 2017-12-08 12:20:07 +0000 |
commit | 0488cffc52e142fad3606b6c2c0b6f235c1bde30 (patch) | |
tree | e698c086da9d772309f15ca43c0f76c7ba93185a /src/imports/location/location.cpp | |
parent | afc51951769ac7320a98a973bcb95a12bc970019 (diff) | |
download | qtlocation-0488cffc52e142fad3606b6c2c0b6f235c1bde30.tar.gz |
Always step QML versions when Qt steps a version
Change-Id: I2b9751dcdcee4a5d8d3353bfc2fcc43cd995b584
Reviewed-by: Paolo Angelelli <paolo.angelelli@qt.io>
Diffstat (limited to 'src/imports/location/location.cpp')
-rw-r--r-- | src/imports/location/location.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/imports/location/location.cpp b/src/imports/location/location.cpp index 9c89d3b8..f96b8c20 100644 --- a/src/imports/location/location.cpp +++ b/src/imports/location/location.cpp @@ -180,6 +180,9 @@ public: qmlRegisterUncreatableType<QDeclarativeGeoCameraCapabilities>(uri, major, minor, "CameraCapabilities" , QStringLiteral("CameraCapabilities is not intended instantiable by developer.")); + // Register the latest Qt version as QML type version + qmlRegisterModule(uri, QT_VERSION_MAJOR, QT_VERSION_MINOR); + //registrations below are version independent qRegisterMetaType<QPlaceCategory>(); qRegisterMetaType<QPlace>(); |