Skip to the text
KDOS
Menu
kdos.dev KDOS from Scratch KDOS 0.2 · 4dd4a10 · 2026-11-30 Contents Index

256.5. kdsoap-ws-discovery-client-0.4.0

WS-Discovery client over KDSoap, which finds SMB hosts on the local network for KIO's smb worker

0.4.0-1 · GPL-3.0-or-later AND LicenseRef-OASIS AND LicenseRef-WS-Discovery AND LicenseRef-WS-Addressing AND W3C AND CC0-1.0 · 2.0 SBU · 437.9 KiB, 23 files · 43_toolkits, 138 of 344 · ports/core/qt-extra/kdsoap-ws-discovery-client

Homepage: https://invent.kde.org/libraries/kdsoap-ws-discovery-client

kdsoap-ws-discovery-client is a WS-Discovery client library: it multicasts SOAP Probe messages on UDP port 3702 and collects the ProbeMatch replies of the devices that answer, which is how Windows machines, Samba servers with WSD and network printers and cameras announce themselves. The smb worker of kio-extras requires it to list the hosts of the local network under smb:/. The SOAP client classes are generated at build time from the WS-Discovery WSDL files the release carries in wsdl/, by kdwsdl2cpp from kdsoap.

Depends on: cmake, ninja, extra-cmake-modules, qt6-qtbase, kdsoap.

Required by (1): kio-extras.

Sources: kdsoap-ws-discovery-client-0.4.0.tar.xz (30.0 KiB). Every step kpkg takes applies to this port.

Install: script/chroot/exec.sh bash -c 'source script/phases/43_toolkits/phase.env && kpkg install kdsoap-ws-discovery-client'

build.sh:

cmake -S . -B build -G Ninja \
	-D CMAKE_INSTALL_PREFIX=/usr \
	-D KDE_INSTALL_LIBDIR=lib \
	-D CMAKE_BUILD_TYPE=Release \
	-D BUILD_TESTING=OFF \
	-D KDE_INSTALL_USE_QT_SYS_PATHS=ON \
	-D BUILD_WITH_QT6=ON \
	-D BUILD_QCH=OFF \
	-D CMAKE_DISABLE_FIND_PACKAGE_Doxygen=ON \
	-Wno-dev
cmake --build build
DESTDIR=$PKG cmake --install build

Libraries: libKDSoapWSDiscoveryClient.so.

Directories: /usr/include/KDSoapWSDiscoveryClient, /usr/lib/cmake/KDSoapWSDiscoveryClient, /usr/share/licenses/kdsoap-ws-discovery-client.

The onvif-discover example is built whatever the switches say, because examples/ is added unconditionally; it is not installed. A probe goes to the multicast group 239.255.255.250 on port 3702, and each host replies with a unicast datagram from its own address, not from the group the probe went to, so the firewall must admit those replies for discovery to list anything.