使用 OpenSSL 依赖项以支持安全功能和 GDS
Qt OPC UA 的 GDS 功能以及 Open62541 插件的安全支持都需要 OpenSSL 3.x 头文件和库。
如果 OpenSSL 未安装在默认搜索路径中,则必须将头文件和库的位置传递给构建过程。
例如,如果 OpenSSL 已安装在/opt/openssl 路径下,则必须按以下方式指定其位置:
-DOPENSSL_ROOT_DIR=/opt/openssl/如果在配置过程中未检测到 OpenSSL,Open62541 插件和 GDS 功能的安全功能将被自动禁用。
© 2026 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.