summaryrefslogtreecommitdiffstats
path: root/src/imports/nfc/plugin.cpp
diff options
context:
space:
mode:
authorAlex Blasche <alexander.blasche@theqtcompany.com>2015-02-04 14:34:05 +0100
committerAlex Blasche <alexander.blasche@theqtcompany.com>2015-02-05 06:19:00 +0000
commit7a053af71f7f53365128f8c337d73ccfbab7f616 (patch)
treea87858b83efaa9d96f81ddd49586f91682dd9979 /src/imports/nfc/plugin.cpp
parent6839bd80c041678c3d738f9274f7277b825e9dc6 (diff)
Bump QtNfc QML API version to 5.5
NearField QML type introduces a new revision which must be registered. Change-Id: Icc8499380babff5060548c1d25bd9cd67c5229df Reviewed-by: Frank Meerkoetter <frank.meerkoetter@basyskom.com> Reviewed-by: Martin Leutelt <martin.leutelt@basyskom.com> Reviewed-by: Alex Blasche <alexander.blasche@theqtcompany.com>
Diffstat (limited to 'src/imports/nfc/plugin.cpp')
-rw-r--r--src/imports/nfc/plugin.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/imports/nfc/plugin.cpp b/src/imports/nfc/plugin.cpp
index 52b4db9c..d9a8bc07 100644
--- a/src/imports/nfc/plugin.cpp
+++ b/src/imports/nfc/plugin.cpp
@@ -79,6 +79,10 @@ public:
// introduces 5.4 version, other existing 5.2 exports become automatically available under 5.2-5.4l
minor = 4;
qmlRegisterType<QDeclarativeNearField>(uri, major, minor, "NearField");
+
+ // Register the 5.5 types
+ minor = 5;
+ qmlRegisterType<QDeclarativeNearField, 1>(uri, major, minor, "NearField");
}
};