adridg created this revision. Restricted Application added a project: Frameworks. Restricted Application added a subscriber: kde-frameworks-devel. adridg requested review of this revision.
REVISION SUMMARY If QT_NO_CAST_FROM_BYTEARRAY is set, along with using MDNSRESPONDER, then the implicit cast from QByteArray to const char * is not available. The MDNSRESPONDER API uses const char * parameters and kdnssd passes QByteArray to them. Make the necessary conversion explicit. Submitted downstream in FreeBSD by Ashish SHUKLA TEST PLAN - builds ok, unpatched, with QT_NO_CAST_FROM_BYTEARRAY against AVAHI - build fails, unpatched, with QT_NO.. against MDNSRESPONDER - build succees, patched, with QT_NO.. against MDNS.. REPOSITORY R272 KDNSSD BRANCH master REVISION DETAIL https://phabricator.kde.org/D13327 AFFECTED FILES src/mdnsd-publicservice.cpp src/mdnsd-remoteservice.cpp src/mdnsd-servicebrowser.cpp To: adridg Cc: kde-frameworks-devel, michaelh, ngraham, bruns