用於訪問 NFC 論壇標簽的 API。 更多...
| Filter for matching NDEF messages | |
| QNdefFilter::Record struct contains the information about a filter record | |
| NFC NDEF message | |
| NFC MIME record to hold an icon | |
| NFC RTD-SmartPoster | |
| NFC RTD-Text | |
| NFC RTD-URI | |
| NFC NDEF record | |
| Access to notifications for NFC events | |
| Interface for communicating with a target device | |
| A request id handle |
The Qt NFC C++ API enables an application to access NFC Forum Tags.
使用 Qt 模塊要求直接或透過其它依賴鏈接到模塊庫。一些構建工具為此有貢獻支持,包括 CMake and qmake .
使用
find_package()
命令定位所需模塊組件在
Qt6
包:
find_package(Qt6 REQUIRED COMPONENTS Nfc) target_link_libraries(mytarget PRIVATE Qt::Nfc)
要配置采用 qmake 構建模塊,添加模塊作為值為
QT
變量在工程的 .pro 文件:
QT += nfc