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