Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-118173

Document how to install & register protoc on Windows

    XMLWordPrintable

Details

    • Task
    • Resolution: Fixed
    • P2: Important
    • None
    • 6.6.0
    • None
    • Windows
    • 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

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              tatiana.borisova Tatiana Borisova
              kkohne Kai Köhne
              Vladimir Minenko Vladimir Minenko
              Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes