In questa pagina

Qt NFC C++ Classes

Un'API per l'accesso ai tag NFC Forum. Maggiori informazioni...

Classi

QNdefFilter

Filtro per l'individuazione dei messaggi NDEF corrispondenti

QNdefFilter::Record

La struttura QNdefFilter::Record contiene le informazioni relative a un record di filtro

QNdefMessage

Messaggio NFC NDEF

QNdefNfcIconRecord

Record MIME NFC per contenere un'icona

QNdefNfcSmartPosterRecord

RTD-SmartPoster NFC

QNdefNfcTextRecord

RTD-Text NFC

QNdefNfcUriRecord

RTD-URI NFC

QNdefRecord

Record NFC NDEF

QNearFieldManager

Accesso alle notifiche relative agli eventi NFC

QNearFieldTarget

Interfaccia per la comunicazione con un dispositivo di destinazione

QNearFieldTarget::RequestId

Un identificatore di richiesta

Descrizione dettagliata

L' Qt NFC API C++ consente a un'applicazione di accedere ai tag del NFC Forum.

Utilizzo del modulo

L'utilizzo di un modulo Qt richiede il collegamento alla libreria del modulo, direttamente o tramite altre dipendenze. Diversi strumenti di compilazione offrono un supporto dedicato a questo scopo, tra cui CMake e qmake.

Compilazione con CMake

Utilizzare il comando ` find_package() ` per individuare i componenti del modulo necessari nel pacchetto ` Qt6 `:

find_package(Qt6 REQUIRED COMPONENTS Nfc)
target_link_libraries(mytarget PRIVATE Qt::Nfc)

Compilazione con qmake

Per configurare il modulo per la compilazione con qmake, aggiungere il modulo come valore della variabile QT nel file .pro del progetto:

QT += nfc

© 2026 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.