protobuf.cpp

Provides support for protocol buffers for the C++ language. More...

Since: Qbs 1.13

Properties

Detailed Description

The protobuf.cpp module provides support for generating C++ headers and sources from proto definition files using the protoc tool.

Relevant File Tags

TagAuto-tagged File NamesSinceDescription
"protobuf.input"*.proto1.13.0Source files with this tag are considered inputs to the protoc compiler.

Property Documentation

importPaths : pathList

The list of imports that are passed to the protoc tool via the --proto_path option. These imports should contain the proto files. They are used to determine the relative structure of the generated files.

Note: The paths are passed to protoc in the same order as specified in this property and protoc output may differ depending on that order.

Default: []


includePath : string

The path where protobuf C++ headers are located. Set this property to override the default location.

Default: auto-detected


libraryPath : string

The path where the protobuf C++ library is located. Set this property to override the default location.

Default: auto-detected


protocBinary : string

The command to invoke when compiling proto definition files.

Default: auto-detected


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