Building Qt OPC UA Open62541 Plugin
The Open62541 plugin is built by default from the included 3rd party sources and has no external dependencies. The open62541 library uses OpenSSL for security. If the OpenSSL library is detected during configuration, security is enabled for the tests and the open62541 backend. The Open62541 source and header files bundled with Qt OPC UA have been generated from the open62541 v1.4.8 tag using the following commands:
cmake -DUA_ENABLE_AMALGAMATION=ON -DUA_AMALGAMATION_MULTIARCH=ON /path/to/open62541-source make
In case you want to build a custom version of the open62541 plugin, an installed open62541 v1.4.8 built with the default options is required. To enable encryption support, the open62541 build must be configured using the following parameters:
cmake -DUA_ENABLE_ENCRYPTION=OPENSSL /path/to/open62541-source
The following options must be passed to cmake when building with a custom open62541 installation.
-DINPUT_open62541=system -DCMAKE_PREFIX_PATH=/path/to/open62541-install-dir
The CMAKE_PREFIX_PATH is only required if open62541 is installed in a location cmake doesn't check by default.
© 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.