Protobuf generator and bindings for Qt framework

Alexey Edelev 6f61fc1a54 Fix build isseu related to neighbour enums пре 5 година
cmake 10e4ce59a0 Additional cleaning of CMakeLists.txt пре 6 година
examples 488f8c5c79 Fix addressbook example build пре 5 година
src 6f61fc1a54 Fix build isseu related to neighbour enums пре 5 година
tests b657835251 Implement extra getter for container types пре 5 година
.gitignore 7495ae7751 Initial version of generator пре 6 година
CMakeLists.txt a8be52434c Add compiler flags tuning for clang пре 5 година
LICENSE 3beab4ea24 Implement move semantic for generated classes, update copyrights. пре 6 година
README.md c2f174230e Update readme пре 6 година

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