Protobuf generator and bindings for Qt framework

Alexey Edelev 5460b82cb5 Fix ComplexTypeDeserializeTest %!s(int64=6) %!d(string=hai) anos
cmake 886aea0236 [Unix][Test] Make gtest downloadable if is not globally %!s(int64=6) %!d(string=hai) anos
src 313beb2951 Complete deserialization of simple lists types %!s(int64=6) %!d(string=hai) anos
tests 5460b82cb5 Fix ComplexTypeDeserializeTest %!s(int64=6) %!d(string=hai) anos
.gitignore 7495ae7751 Initial version of generator %!s(int64=6) %!d(string=hai) anos
CMakeLists.txt 8985fbc5d0 Support unit test functionality for Windows. %!s(int64=6) %!d(string=hai) anos
LICENSE 3beab4ea24 Implement move semantic for generated classes, update copyrights. %!s(int64=6) %!d(string=hai) anos
README.md ff285fe8a8 Add instruction to build project in system with %!s(int64=6) %!d(string=hai) anos

README.md

qtprotobuf

Protobuf plugin to generate Qt classes

Linux Build

mkdir build
cd build
cmake [-DCMAKE_PREFIX_PATH=<PATH_TO_Qt5Config.cmake_OR_qt5-config.cmake>] ..
make -j<N>

Windows Build

mkdir build
cd build
cmake ..
cmake --build . --target qtprotobuf --config RELEASE

Usage

protoc --plugin=protoc-gen-qtprotobuf=<path/to/bin>/qtprotobuf --qtprotobuf_out=<output_dir> <protofile>.proto