|
@@ -3,7 +3,6 @@
|
|
|
Protobuf plugin to generate Qt classes
|
|
|
|
|
|
# Linux Build
|
|
|
-
|
|
|
```bash
|
|
|
mkdir build
|
|
|
cd build
|
|
@@ -12,8 +11,7 @@ make -j<N>
|
|
|
```
|
|
|
|
|
|
# Windows Build
|
|
|
-
|
|
|
-```Windows Qt command line
|
|
|
+```bash
|
|
|
mkdir build
|
|
|
cd build
|
|
|
cmake ..
|
|
@@ -21,7 +19,6 @@ cmake --build . --target qtprotobuf --config RELEASE
|
|
|
```
|
|
|
|
|
|
# Usage
|
|
|
-
|
|
|
```bash
|
|
|
protoc --plugin=protoc-gen-qtprotobuf=<path/to/bin>/qtprotobuf --qtprotobuf_out=<output_dir> <protofile>.proto
|
|
|
-```
|
|
|
+```
|