Protobuf generator and bindings for Qt framework

Alexey Edelev 5fd4a30370 Make compact serializater and deserializater il y a 6 ans
cmake 10e4ce59a0 Additional cleaning of CMakeLists.txt il y a 6 ans
examples d3f8b0c489 Complete maps generator il y a 6 ans
src 5fd4a30370 Make compact serializater and deserializater il y a 6 ans
tests 8d5199818d Complete protobuf object refactoring il y a 6 ans
.gitignore 7495ae7751 Initial version of generator il y a 6 ans
CMakeLists.txt aa7fd8362b Fix Windows build il y a 6 ans
LICENSE 3beab4ea24 Implement move semantic for generated classes, update copyrights. il y a 6 ans
README.md c2f174230e Update readme il y a 6 ans

README.md

qtprotobuf

Protobuf plugin to generate Qt classes

Linux Build

mkdir build
cd build
cmake [-DCMAKE_PREFIX_PATH=<path/to/Qt5Config.cmake|path/to/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 [--qtprotobuf_opt=out=<output_dir>]