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. Using Qt GRPC on Ubuntu 24.04.3 LTS x86_64

Using Qt GRPC on Ubuntu 24.04.3 LTS x86_64

Scheduled Pinned Locked Moved Unsolved General and Desktop
2 Posts 2 Posters 145 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.
  • N Offline
    N Offline
    nmls
    wrote on last edited by
    #1

    Hi all,

    I am using Ubuntu 24.04 and I am installing Qt via APT packages. The installed Qt version is:

    $ qmake6 --version
    QMake version 3.1
    Using Qt version 6.4.2 in /usr/lib/x86_64-linux-gnu
    

    Now, I am trying to use Qt GRPC for a client in my Qt app such that I connect to an external gRPC server. However, there isn't a qt6-grpc APT package on the stable sources for Ubuntu. My questions are:

    • what's the cleanest way to use gRPC with my App?
    • what are the alternatives out there? I wish to not change OS.
    • could I not use Qt gRPC at all and directly use the "usual" C++ gRPC library? pros, cons?
    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi and welcome to devnet,

      That module is available since Qt 6.5.

      You have basically two options:

      • Try to build it yourself against 6.4
      • Use the online Qt installer and install a more recent version of Qt in your home folder.

      Using gRPC directly means that you will have to implemented all the low-level details and integration with the event loop done by the QtGRPC module.

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0

      • Login

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