Protobuf generator and bindings for Qt framework

Alexey Edelev 893915a2dd Add base template class for serialization/deserialization 6 jaren geleden
src 893915a2dd Add base template class for serialization/deserialization 6 jaren geleden
tests 893915a2dd Add base template class for serialization/deserialization 6 jaren geleden
.gitignore 7495ae7751 Initial version of generator 6 jaren geleden
CMakeLists.txt f082fea946 Change CPP standard 6 jaren geleden
LICENSE 3beab4ea24 Implement move semantic for generated classes, update copyrights. 6 jaren geleden
README.md 45b5da8a91 Quick final readme fix 6 jaren geleden

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