A new version of the QtProtobuf library has been released.
QtProtobuf is a free library published under the MIT license. It allows you to easily use Google Protocol Buffers and gRPC in your Qt project.
Key changes:
- The generator and the QtProtobuf library are divided into two separate modules.
- The installation paths for .pri files and QML modules have been changed (in case the installation prefix does not match the Qt framework installation prefix).
- Basic cross-compilation support is provided (documentation is included).
- Support for nested types with dependencies has been fixed.
- An issue in the read buffer for gRPC subscriptions has been resolved.
- A gRPC method call signature with a return value as a function parameter has been added.
- A gRPC channel based on the native C++ implementation of gRPC has been added.
- Additional gRPC methods for handling errors and channel timeouts have been added.
- The ability to generate additional namespaces (aka namespace) for protobuf messages has been added. (EXPERIMENTAL)
- Explicit reflection of protobuf messages has been added for more accurate JSON serialization.
- The names of QML properties have been changed. Now, the original name of protobuf messages is used for QML counterparts.
- The capability to generate an enum containing a list of fields in protobuf messages has been added.
Minor changes:
- The ability to build tests separately has been added.
- The mechanism for finding third-party dependencies has been modified.
- microjson is statically linked to the QtProtobuf library and is no longer a dependency.
- Binary packages for Windows have been added.
Source: linux.org.ru
