Protobuf generator and bindings for Qt framework
|
il y a 6 ans | |
---|---|---|
src | il y a 6 ans | |
.gitignore | il y a 6 ans | |
CMakeLists.txt | il y a 6 ans | |
LICENSE | il y a 6 ans | |
README.md | il y a 6 ans |
Protobuf plugin to generate Qt classes
mkdir build
cd build
cmake ..
make -j<N>
mkdir build
cd build
cmake ..
cmake --build . --target qtprotobuf --config RELEASE
protoc --plugin=protoc-gen-qtprotobuf=<path/to/bin>/qtprotobuf --qtprotobuf_out=<output_dir> <protofile>.proto