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