<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><br class=""><div><blockquote type="cite" class=""><div class="">On 11 Oct 2015, at 4:48 AM, Michael Jones <<a href="mailto:avahi@jonesmz.com" class="">avahi@jonesmz.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class=""><br class=""><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Trent<br class="">
<br class="">
I had a look at avahi-qt in 0.6.32-rc and it looks like there is still no QT5 support.  I found this patch for QT5 support...<br class="">
<br class="">
<a href="http://lists.freedesktop.org/archives/avahi/2014-October/002305.html" rel="noreferrer" target="_blank" class="">http://lists.freedesktop.org/archives/avahi/2014-October/002305.html</a><br class="">
<br class="">
If I pass an AvahiPoll from avahi_qt_poll_get() to avahi_client_new() the program will segfault with Qt5 (Qt4 works fine).  I have a Qt class that wraps avahi-client.  In order to get it to work with Qt5, I need to distribute a modified avahi-qt.<br class="">
<br class="">
Jon<br class="">
<br class=""></blockquote><div class=""><br class=""><br class=""></div><div class="">I'm the author of that Qt 5 patch.<br class=""><br class=""></div><div class="">I'd be happy to lend assistance to getting it integrated into an upcoming Avahi release. I wasn't able to post it to the avahi bug tracker, since the Trac instance wasn't accepting new registrations for quite a while.<br class=""><br class=""></div><div class="">Saying this without looking at the full changelist for Avahi, I'd say that it's pretty likely to apply cleanly to the new version. It was minimally invasive.<br class=""></div><div class=""><br class=""></div><div class="">Please contact me if assistance is desired. </div></div></div></div></div></blockquote><br class=""></div><div>It does apply fine, had to make a slight tweak to set -fPIC.</div><div><br class=""></div><div>Is there a project somewhere that compiles against this? In any case I think we should make an example/test app as we don’t have one at all for QT right now.</div><div><br class=""></div><div>Converted into pull request here:</div><div><a href="https://github.com/lathiat/avahi/pull/19" class="">https://github.com/lathiat/avahi/pull/19</a></div><div><br class=""></div><div><br class=""></div><div>Trent</div><div><br class=""></div><br class=""></body></html>