jbagg / QtZeroConf

Qt wrapper class for ZeroConf libraries across various platforms.
Other
69 stars 51 forks source link

add support for compiling for ubuntu touch #26

Closed mzanetti closed 3 years ago

mzanetti commented 5 years ago

This allows building it for Ubuntu phone with included avahi. Avahi is not running on Ubuntu phones but the android portion works just fine with some little tweaking of the defines.

jbagg commented 5 years ago

It would be better to use avahi-client. It is not ideal to run multiple mDSN stacks on the same device. I'm actually trying to remove the avahi-core for Android and use the mDSN stack included with Android. Can you look into enable avahi on the Ubuntu phone?

mzanetti commented 5 years ago

seems avahi isn't running on Ubuntu phones... actually it's not even installed and it's a read only file system. So it would need to be packaged with the app...

jbagg commented 5 years ago

I assume snap is how apps get packaged for Ubuntu Phone? Can you not set a dependency for avahi-client in the snap so when someone installs your app, avahi-client automatically gets installed? ....just like with a .deb

mzanetti commented 5 years ago

actually ubuntu phone still uses click instead of snap... For snap I didn't need any changes as there actually is an avahi running in ubuntu snap based systems...

I understand that click is supposed to die and it's probably not of much interest to you in merging this then...

Just fwiw, neither click nor snap packages have a concept of dependencies. They're all-in-one bundles by definition.

mzanetti commented 3 years ago

Superseded by https://github.com/jbagg/QtZeroConf/pull/48