Qt NFC C++ Classes

NFC 포럼 태그에 액세스하기 위한 API입니다. 더 보기...

클래스

QNdefFilter

일치하는 NDEF 메시지를 위한 필터

QNdefFilter::Record

필터 레코드에 대한 정보를 포함하는 QNdefFilter::Record 구조체

QNdefMessage

NFC NDEF 메시지

QNdefNfcIconRecord

아이콘을 담을 NFC MIME 레코드

QNdefNfcSmartPosterRecord

NFC RTD-스마트 포스터

QNdefNfcTextRecord

NFC RTD-Text

QNdefNfcUriRecord

NFC RTD-URI

QNdefRecord

NFC NDEF 레코드

QNearFieldManager

NFC 이벤트에 대한 알림 액세스

QNearFieldTarget

대상 디바이스와 통신하기 위한 인터페이스

QNearFieldTarget::RequestId

요청 ID 핸들

상세 설명

The Qt NFC C++ API를 사용하면 애플리케이션이 NFC 포럼 태그에 액세스할 수 있습니다.

모듈 사용

Qt 모듈을 사용하려면 직접 또는 다른 종속성을 통해 모듈 라이브러리에 연결해야 합니다. CMakeqmake를 포함한 여러 빌드 도구가 이를 지원합니다.

CMake로 빌드하기

find_package() 명령을 사용하여 Qt6 패키지에서 필요한 모듈 컴포넌트를 찾습니다:

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

qmake로 빌드하기

qmake로 빌드하도록 모듈을 구성하려면 프로젝트의 .pro 파일에 QT 변수의 값으로 모듈을 추가합니다:

QT += nfc

© 2025 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.