이 페이지에서

Qt OPC UA

이 Qt OPC UA 이 모듈은 open62541 라이브러리를 기반으로 Qt OPC UA 서버와 상호 작용하기 위한 API를 구현합니다.

Qt Qml API는 Qt 6.9에서 사용 중단 예정으로 표시되었으며, 향후 버전에서 제거될 예정입니다.

모듈 사용법

QML API

QML types 는 ` QtOpcUa ` 임포트를 통해 사용할 수 있습니다. 이 타입을 사용하려면 .qml 파일에 다음 임포트 문장을 추가하십시오:

import QtOpcUa as QtOpcUa

C++ API

C++ API 를 사용하려면 모듈 라이브러리를 직접 또는 다른 종속성을 통해 링크해야 합니다. CMake 및 qmake를 비롯한 여러 빌드 도구가 이를 위해 전용 지원을 제공합니다.

CMake를 사용한 빌드

find_package() 명령어를 사용하여 Qt6 패키지 내에서 필요한 모듈 구성 요소를 찾아보세요:

find_package(Qt6 REQUIRED COMPONENTS OpcUa)
target_link_libraries(mytarget Qt::OpcUa)

qmake를 사용한 빌드

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

QT += opcua

문서 및 가이드

예제

참조

라이선스 및 출처 표기

Qt OPC UA 는 The Qt Company의 상용 라이선스에 따라 제공됩니다. 또한, GNU Lesser General Public License 버전 3 또는 GNU General Public License 버전 2와 같은 자유 소프트웨어 라이선스 하에서도 이용 가능합니다. 자세한 내용은 Qt 라이선싱을 참조하십시오.

또한, Qt 6.12.0의 Qt OPC UA 에는 다음의 관대한 라이선스 하에 제공되는 타사 모듈이 포함될 수 있습니다:

Open62541, version v1.5.7

Mozilla Public License 2.0, Creative Commons Zero v1.0 Universal, Creative Commons Attribution Share Alike 4.0 International, BSD 3-Clause "New" 또는 "Revised" License, Apache License 2.0 및 MIT License

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