本页内容

Qt Protobuf C++ Classes

在 Qt 中提供 Protocol Buffers 支持。更多内容...

该模块于 Qt 6.5 版本中引入。

命名空间

QtProtobuf

包含支持Qt Protobuf

类

QAbstractProtobufSerializer

表示序列化/反序列化基本功能的接口

QProtobufJsonSerializer

表示将 QProtobufMessage 对象序列化/反序列化为 JSON 的基本功能的接口

QProtobufMessage

所有 protobuf 消息的基类

QProtobufMessageDeleter

调用 QProtobufMessage 子类的析构函数

QProtobufRepeatedIterator

允许遍历重复出现的 Protobuf 类型

QProtobufSerializer

表示序列化/反序列化基本功能的接口

详细说明

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