Protobuf generator and bindings for Qt framework
|
hace 6 años | |
---|---|---|
cmake | hace 6 años | |
src | hace 6 años | |
tests | hace 6 años | |
.gitignore | hace 6 años | |
CMakeLists.txt | hace 6 años | |
LICENSE | hace 6 años | |
README.md | hace 6 años |
Protobuf plugin to generate Qt classes
mkdir build
cd build
cmake [-DCMAKE_PREFIX_PATH=<PATH_TO_Qt5Config.cmake_OR_qt5-config.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