Qt OPC UA

The Qt OPC UA module implements a Qt API to interact with OPC UA on top of a 3rd party OPC UA stack.

The stacks are integrated as plugins and can be selected at runtime. Currently, the following implementations are supported:

  • Open62541 v1.0, MPLv2
  • Unified Automation C++ SDK (UACpp), Commercial

The QML API is still in development but are available as a technology preview. This means those parts are unstable, likely to change, and provided as a convenience only.

快速入門

要包括模塊類定義,使用以下指令:

#include <QtOpcUa>
					

要鏈接到模塊,添加此行到 qmake .pro 文件:

QT += opcua
					
					

文章和指南

範例

參考