Protobuf generator and bindings for Qt framework

Alexey Edelev 1f18f3a18d Refactor generator il y a 6 ans
cmake 886aea0236 [Unix][Test] Make gtest downloadable if is not globally il y a 6 ans
src 1f18f3a18d Refactor generator il y a 6 ans
tests e582246f4a Add service server generator il y a 6 ans
.gitignore 7495ae7751 Initial version of generator il y a 6 ans
CMakeLists.txt 1f18f3a18d Refactor generator il y a 6 ans
LICENSE 3beab4ea24 Implement move semantic for generated classes, update copyrights. il y a 6 ans
README.md ff285fe8a8 Add instruction to build project in system with 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_OR_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