SUMMARY On Sailfish OS, we use Wayland only and there are no X11 installed by default. In this environment, Plasma Integration fails to compile and requires disabling X11 by a patch. While there are X11 checks in CMake, the results are not fully used to adjust compilation. Used patch: https://github.com/sailfishos-chum/plasma-integration/blob/main/rpm/0001-Allow-to-use-without-X11-libs.patch SOFTWARE/OS VERSIONS Linux/KDE Plasma: Sailfish OS 4.5 (available in About System) KDE Plasma Version: - KDE Frameworks Version: 5.105.0 Qt Version: 5.15
Sailfish OS isn't Plasma, so using plasma-integration there seems weird. You probably want to use a Sailfish-specific Qt Platformtheme to properly "integrate" with the OS
plasma-integration is used to make sure that icons are colored correctly. That's until we write SFOS specific platformtheme - I haven't written that yet. However, this bug would affect any Linux distribution without X11.
Adding the x11-only keyword