Protobuf generator and bindings for Qt framework
|
|
hace 7 años | |
|---|---|---|
| cmake | hace 7 años | |
| src | hace 7 años | |
| tests | hace 7 años | |
| .gitignore | hace 7 años | |
| CMakeLists.txt | hace 7 años | |
| LICENSE | hace 7 años | |
| README.md | hace 7 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