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:
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