summaryrefslogtreecommitdiffstats
path: root/src/imports/nfc/plugin.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/imports/nfc/plugin.cpp')
-rw-r--r--src/imports/nfc/plugin.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/imports/nfc/plugin.cpp b/src/imports/nfc/plugin.cpp
index 0a423495..8694e185 100644
--- a/src/imports/nfc/plugin.cpp
+++ b/src/imports/nfc/plugin.cpp
@@ -84,6 +84,11 @@ public:
qmlRegisterType<QDeclarativeNdefTextRecord>(uri, major, minor, "NdefTextRecord");
qmlRegisterType<QDeclarativeNdefUriRecord>(uri, major, minor, "NdefUriRecord");
qmlRegisterType<QDeclarativeNdefMimeRecord>(uri, major, minor, "NdefMimeRecord");
+
+ // Register the 5.3 types
+ // introduces 5.3 version, other existing 5.2 exports automatically become availabe under 5.3 as well
+ minor = 3;
+ qmlRegisterType<QDeclarativeNearField>(uri, major, minor, "NearField");
}
};