Protobuf generator and bindings for Qt framework

Viktor Kopp f8ec65b184 Make separate qttools target common for samples před 5 roky
cmake 96afc00165 Migrate to modern cmake targets detection for QtProtobuf dependencies před 5 roky
examples f8ec65b184 Make separate qttools target common for samples před 5 roky
src 8e66d1727c Doxygen for header byte encoder/decoder před 5 roky
tests 1396db1bc8 Reuse instance of QCoreApplication in grpc::clienttest před 5 roky
.gitignore 7495ae7751 Initial version of generator před 6 roky
CMakeLists.txt f8ec65b184 Make separate qttools target common for samples před 5 roky
Doxyfile.in 8e66d1727c Doxygen for header byte encoder/decoder před 5 roky
LICENSE 3beab4ea24 Implement move semantic for generated classes, update copyrights. před 6 roky
README.md c2f174230e Update readme před 6 roky

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