Protobuf generator and bindings for Qt framework

Tatyana Borisova b9de8c526e Add paths for addressbook server project on Windows. %!s(int64=5) %!d(string=hai) anos
cmake 10e4ce59a0 Additional cleaning of CMakeLists.txt %!s(int64=6) %!d(string=hai) anos
examples b9de8c526e Add paths for addressbook server project on Windows. %!s(int64=5) %!d(string=hai) anos
src 3f2c1307d8 Add server-side stream support %!s(int64=5) %!d(string=hai) anos
tests 3f2c1307d8 Add server-side stream support %!s(int64=5) %!d(string=hai) anos
.gitignore 7495ae7751 Initial version of generator %!s(int64=6) %!d(string=hai) anos
CMakeLists.txt 28aa341aca Update abort functionality for AsyncReply %!s(int64=5) %!d(string=hai) anos
LICENSE 3beab4ea24 Implement move semantic for generated classes, update copyrights. %!s(int64=6) %!d(string=hai) anos
README.md c2f174230e Update readme %!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|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>]