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

Getting started

To include the definitions of the module's classes, use the following directive:

 #include <QtOpcUa>

To link against the module, add this line to your cmake project file:

 target_link_libraries(mytarget Qt::OpcUa)

Articles and Guides

Examples

Reference