From 0488cffc52e142fad3606b6c2c0b6f235c1bde30 Mon Sep 17 00:00:00 2001 From: Alex Blasche Date: Thu, 7 Dec 2017 16:03:54 +0100 Subject: Always step QML versions when Qt steps a version Change-Id: I2b9751dcdcee4a5d8d3353bfc2fcc43cd995b584 Reviewed-by: Paolo Angelelli --- src/imports/location/location.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/imports/location/location.cpp') 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(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(); qRegisterMetaType(); -- cgit v1.2.1