이 페이지에서

Qt NFC C++ Classes

NFC 포럼 태그에 접근하기 위한 API입니다. 더 보기...

클래스

QNdefFilter

NDEF 메시지 일치 필터

QNdefFilter::Record

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

QNdefMessage

NFC NDEF 메시지

QNdefNfcIconRecord

아이콘을 담는 NFC MIME 레코드

QNdefNfcSmartPosterRecord

NFC RTD-SmartPoster

QNdefNfcTextRecord

NFC RTD-Text

QNdefNfcUriRecord

NFC RTD-URI

QNdefRecord

NFC NDEF 레코드

QNearFieldManager

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

QNearFieldTarget

대상 장치와 통신하기 위한 인터페이스

QNearFieldTarget::RequestId

요청 ID 핸들

상세 설명

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

모듈 사용

Qt 모듈을 사용하려면 모듈 라이브러리에 직접 또는 다른 종속성을 통해 링크해야 합니다. CMake 및 qmake를 비롯한 여러 빌드 도구가 이를专门으로 지원합니다.

CMake를 사용한 빌드

find_package() 명령을 사용하여 Qt6 패키지 내에서 필요한 모듈 구성 요소를 찾으십시오:

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

qmake를 사용한 빌드

qmake를 사용하여 모듈을 빌드하도록 구성하려면, 프로젝트의 .pro 파일에서 QT 변수의 값으로 모듈을 추가하십시오:

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.