summaryrefslogtreecommitdiffstats
path: root/examples/nfc/poster/poster.qml
diff options
context:
space:
mode:
Diffstat (limited to 'examples/nfc/poster/poster.qml')
-rw-r--r--examples/nfc/poster/poster.qml6
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/nfc/poster/poster.qml b/examples/nfc/poster/poster.qml
index 058f8e4f..c50c702b 100644
--- a/examples/nfc/poster/poster.qml
+++ b/examples/nfc/poster/poster.qml
@@ -39,7 +39,7 @@
****************************************************************************/
import QtQuick 2.0
-import QtNfc 5.0
+import QtNfc 5.2
Rectangle {
id: root
@@ -50,8 +50,8 @@ Rectangle {
id: nearfield
filter: [
- NdefFilter { type: "urn:nfc:wkt:U"; minimum: 1; maximum: 1 },
- NdefFilter { type: "urn:nfc:wkt:T"; minimum: 1 }
+ NdefFilter { type: "U"; typeNameFormat: NearFiledRecord.NfcRtd; minimum: 1; maximum: 1 },
+ NdefFilter { type: "T"; typeNameFormat: NearFiledRecord.NfcRtd; minimum: 1 }
]
onMessageRecordsChanged: {