Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. implemenation of qtzeroconf into client/server project for Android
QtWS25 Last Chance

implemenation of qtzeroconf into client/server project for Android

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
2 Posts 2 Posters 739 Views
  • 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.
  • A Offline
    A Offline
    a_so
    wrote on last edited by
    #1

    I have a project consisting of a client and a server application where the server publishes its services to the client and the client recognizes all server devices and resolves the addresses. This zeroconf implementation is done using Bonjour classes like here.

    I run this project on Centos 7 using the Avahi compatibility layer and want to deploy the client application to a Android mobile phone.

    I have found two ways on how to implement zeroconf for Android in qt.

    qzeroconf: johannes hilden
    qzeroconf: jbagg

    As I understand it, the files from johannes hilden are used to replace my bonjour class implementation and jbagg provides a wrapper where the Bonjour implementation can stay.

    Which approach will work better for me? I tend to the wrapper as to my understanding this would mean less modifications in my project. Yet, I do not know how to implement this wrapper. The guide and the example provided are too confusing for me.

    I am grateful for any help, tutorial or sample client-server project with qtzeroconf.

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

      For the first repo, you'd need to integrate the files in your project to use them.

      For the second one, build and install the library and then use it like you would any other library.

      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