Protobuf generator and bindings for Qt framework

Alexey Edelev 813294825c Move most of templates to header %!s(int64=6) %!d(string=hai) anos
src 813294825c Move most of templates to header %!s(int64=6) %!d(string=hai) anos
.gitignore 7495ae7751 Initial version of generator %!s(int64=6) %!d(string=hai) anos
CMakeLists.txt c10ea50386 Added Windows build %!s(int64=6) %!d(string=hai) anos
LICENSE b474e7dc06 Update 'LICENSE' %!s(int64=6) %!d(string=hai) anos
README.md 45b5da8a91 Quick final readme fix %!s(int64=6) %!d(string=hai) anos

README.md

qtprotobuf

Protobuf plugin to generate Qt classes

Linux Build

mkdir build
cd build
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