Protobuf generator and bindings for Qt framework
|
пре 6 година | |
---|---|---|
cmake | пре 6 година | |
src | пре 6 година | |
tests | пре 6 година | |
.gitignore | пре 6 година | |
CMakeLists.txt | пре 6 година | |
LICENSE | пре 6 година | |
README.md | пре 6 година |
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