Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. How to use Google Protocol Buffers with Qt/C++ on Windows
Forum Updated to NodeBB v4.3 + New Features

How to use Google Protocol Buffers with Qt/C++ on Windows

Scheduled Pinned Locked Moved Unsolved General and Desktop
4 Posts 4 Posters 6.9k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • K Offline
    K Offline
    kahlenberg
    wrote on 3 Feb 2017, 10:16 last edited by
    #1

    Hello,

    I searched a lot without success. How can I use google protocol buffers compiler with Qt/C++ on Windows 8.1. What I found so far is compiling source codes on windows. But I dont want to compile it I don't have windows compiler and I can not install it right now, there is already binary executable for windows (protoc.exe). I want to use it to compile the proto file and use the generated codes in Qt. How can I do it?

    Thanks.

    J P 2 Replies Last reply 3 Feb 2017, 12:11
    0
    • K kahlenberg
      3 Feb 2017, 10:16

      Hello,

      I searched a lot without success. How can I use google protocol buffers compiler with Qt/C++ on Windows 8.1. What I found so far is compiling source codes on windows. But I dont want to compile it I don't have windows compiler and I can not install it right now, there is already binary executable for windows (protoc.exe). I want to use it to compile the proto file and use the generated codes in Qt. How can I do it?

      Thanks.

      J Offline
      J Offline
      jsulm
      Lifetime Qt Champion
      wrote on 3 Feb 2017, 12:11 last edited by
      #2

      @kahlenberg Your question is not really related to Qt. See https://developers.google.com/protocol-buffers/docs/cpptutorial
      It is C++ so use it as explained there.

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      4
      • K kahlenberg
        3 Feb 2017, 10:16

        Hello,

        I searched a lot without success. How can I use google protocol buffers compiler with Qt/C++ on Windows 8.1. What I found so far is compiling source codes on windows. But I dont want to compile it I don't have windows compiler and I can not install it right now, there is already binary executable for windows (protoc.exe). I want to use it to compile the proto file and use the generated codes in Qt. How can I do it?

        Thanks.

        P Offline
        P Offline
        Paul Colby
        wrote on 4 Feb 2017, 00:16 last edited by
        #3
        This post is deleted!
        1 Reply Last reply
        0
        • S Offline
          S Offline
          semlanik
          wrote on 13 Jul 2019, 09:25 last edited by semlanik
          #4

          Might be what you're looking for https://github.com/semlanik/qtprotobuf

          1 Reply Last reply
          2

          • Login

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Users
          • Groups
          • Search
          • Get Qt Extensions
          • Unsolved