Bug 469182 - Plasma Itegration fails to compile on Linux without X11
Summary: Plasma Itegration fails to compile on Linux without X11
Status: REPORTED
Alias: None
Product: plasma-integration
Classification: Plasma
Component: general (show other bugs)
Version: 5.27.4
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords: X11-only
Depends on:
Blocks:
 
Reported: 2023-04-30 09:01 UTC by Rinigus
Modified: 2025-02-24 17:58 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Rinigus 2023-04-30 09:01:09 UTC
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
Comment 1 Nicolas Fella 2023-04-30 10:26:09 UTC
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
Comment 2 Rinigus 2023-05-01 07:04:35 UTC
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.
Comment 3 TraceyC 2025-02-24 17:58:15 UTC
Adding the x11-only keyword