使用 OpenSSL 依赖项实现安全支持和 GDS

Qt OPC UA 的 GDS 功能以及 Open62541 插件的安全支持需要 OpenSSL 3.x 头文件和库。

如果 OpenSSL 没有安装到默认搜索的路径上,则必须将头文件和库的位置传递给构建过程。

例如,如果 OpenSSL 已安装到/opt/openssl ,则必须按如下方式传递位置:

-DOPENSSL_ROOT_DIR=/opt/openssl/

如果在配置过程中未检测到 OpenSSL,Open62541 插件的安全功能和 GDS 功能将自动禁用。

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