Qt Protobuf Reference Documentation

Example of installation for Windows using vcpkg

QT_USE_PROTOBUF_LIST_ALIASES

cmake-target-property-QT_USE_PROTOBUF_LIST_ALIASES

Qt Protobuf

Overview

What are protocol buffers?

Which problems do protocol buffers solve?

Benefits of using Qt Protobuf

Using the Module

QML API

QML API

C++ API

Building with CMake

Articles and Guides

References

Examples

Licenses and Attributions

Qt Protobuf QML Types

Using protobuf messages in QML

Integrating QML and C++

Protobuf message duplicates

QML types duplicates

QML keywords handling

Qt Protobuf module topics

Sensors

The qtprotobufgen Tool

Usage

CMake

Using qt_add_protobuf

Running manually

Options

protobuf, version 21.9

protobuf-tests, version 21.9

qt_add_protobuf

qt6_add_protobuf

Arguments

Resolving dependencies between protobuf targets

Example

Using qt_add_protobuf

QML extended protobuf example

Installing standalone Qt Protobuf library

CMake Commands in Qt6 Protobuf

Using qt_add_protobuf

CMake Target Properties in Qt6 Protobuf

Qt Protobuf Examples

Qt Protobuf C++ Classes

Protobuf Qt Core Types Module

Qt Core usage

Protobuf Qt GUI Types Module

Qt GUI usage

QImage serialization

Qt Protobuf Well-Known Types C++ Classes