Protobuf generator and bindings for Qt framework

Alexey Edelev 6eee72867c Update tests for abort hace 6 años
cmake 10e4ce59a0 Additional cleaning of CMakeLists.txt hace 6 años
examples b55fb0c64f Add async call support to client hace 6 años
src 7ea41ad114 Fix doubled abort in case if both abort and network error occured hace 6 años
tests 6eee72867c Update tests for abort hace 6 años
.gitignore 7495ae7751 Initial version of generator hace 6 años
CMakeLists.txt 28aa341aca Update abort functionality for AsyncReply hace 6 años
LICENSE 3beab4ea24 Implement move semantic for generated classes, update copyrights. hace 6 años
README.md c2f174230e Update readme hace 6 años

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>]