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