Qt OPC UA

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.1, 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>
					

要链接到模块,添加此行到 cmake 工程文件:

target_link_libraries(mytarget Qt::OpcUa)
					

文章和指南

范例

参考