Obsolete Members for sslDtlsConfiguration

QML 类型sslDtlsConfiguration的以下成员已被废弃。提供这些成员是为了确保旧源代码能够正常运行。我们强烈建议不要在新代码中使用它们。

属性

物业文件

sslOptions : QList [deprecated in 6.11]

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

请改用 `sslOptionFlags `。该属性将在 Qt 7 中被移除。

保存通过配置启用的 SslOption 值列表。

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

另请参阅 QSsl::SslOption 和sslOptionFlags 。


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