Qt QML Network QML Types

该模块在 Qt 6.7 中引入。

Qt QML Network 模块用 QML 提供核心网络功能。

可在 .qml 文件中使用以下导入语句将 QML 类型导入应用程序:

import QtNetwork

QML 类型

NetworkInformation

为网络相关信息提供跨平台接口

sslConfiguration

保存 SSL 连接的配置和状态

sslDtlsConfiguration

保存 SSL 连接的 Dtls 默认配置和状态

sslKey

私钥和公钥接口

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