Details
-
Task
-
Resolution: Fixed
-
P2: Important
-
None
-
6.6.0
-
None
-
-
5
-
8facdd829 (dev), 675838f0e (6.7), 9c0ab5387 (6.6)
-
Foundations Sprint 97, Foundations Sprint 98
Description
Qt Protobuf (and by extension Qt GRPC) require an installed protoc compiler. Anyhow, the current documentation just gives some general advise on Linux how to get protobuf, and does not give any hints for Windows. Also the linked upstream documentation does not mention Windows.
We should therefore suggest a) where to get protoc from , and b) how to tell CMake about it. What seems to work as of now is:
- Download Windows binaries from Githubs Protobuf Releases Page, extract to some directory.
- Adding <install_dir>\bin to CMAKE_PREFIX_PATH environment variable.
- Run CMake
This should be documented. Also, I think the individual examples like Magic8Ball should prominently mention this requirement.
Attachments
Issue Links
- relates to
-
QTBUG-118180 Add vcpkg recipes to GRPC, Protobuf examples
-
- In Review
-
For Gerrit Dashboard: QTBUG-118173 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
525493,11 | Document how Protobuf and gRPC may be installed on Windows | dev | qt/qtgrpc | Status: MERGED | +2 | 0 |
527569,2 | Document how Protobuf and gRPC may be installed on Windows | 6.7 | qt/qtgrpc | Status: MERGED | +2 | 0 |
527591,2 | Document how Protobuf and gRPC may be installed on Windows | 6.6 | qt/qtgrpc | Status: MERGED | +2 | 0 |