Protobuf generator and bindings for Qt framework

Alexey Edelev 090c9a01fa Move PIC for tests to common function 5 éve
cmake 090c9a01fa Move PIC for tests to common function 5 éve
examples 32702b3c2a Add contact details view 5 éve
src 506b287cdc Complete refactored build procedure 5 éve
tests 090c9a01fa Move PIC for tests to common function 5 éve
.gitignore 7495ae7751 Initial version of generator 6 éve
CMakeLists.txt c4a7fec2ac Build procudure polishing 5 éve
LICENSE 3beab4ea24 Implement move semantic for generated classes, update copyrights. 6 éve
README.md c2f174230e Update readme 6 éve

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