Obsolete Members for sslDtlsConfiguration

QML 类型sslDtlsConfiguration的下列成员已被弃用。提供它们是为了让旧源代码继续工作。我们强烈建议不要在新代码中使用它们。

属性

财产文件

sslOptions : QList [deprecated in 6.11]

自 QtNetwork 6.11 起,该属性已被弃用。我们强烈建议不要在新代码中使用它。

请使用sslOptionFlags 。此属性将在 Qt 7 中移除。

保存通过配置激活的 SslOption 值列表。

警告: 该属性存在已知问题,不建议使用。具体来说,一旦 SSL 选项被启用,就无法将其禁用,而且可能与底层 SSL 配置不同步。保留该属性只是为了与源代码和行为兼容。请使用sslOptionFlags 属性。

另请参见 QSsl::SslOptionsslOptionFlags


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