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.

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 qmake .pro file:

QT += opcua

Articles and Guides



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