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

258.15. layer-shell-qt-6.8.2

Qt integration of the wlr layer-shell protocol, for panels, on-screen displays and lock screens

6.8.2-1 · (LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL) AND MIT · 2.4 SBU · 342.1 KiB, 24 files · 43_toolkits, 186 of 344 · ports/core/kde/layer-shell-qt

Homepage: https://invent.kde.org/plasma/layer-shell-qt

Layer Shell Qt lets a Qt window be a layer surface of the wlr-layer-shell protocol: a surface the compositor anchors to an edge of an output and keeps above or below the ordinary windows, with no title bar and no place in the task list. Plasma’s panels and desktop, the lock screen, the splash screen, KRunner, the on-screen displays and Spectacle’s region selector are drawn that way. It installs a library, a Qt Wayland shell-integration plugin named layer-shell and a QML module, org.kde.layershell.

Depends on: cmake, ninja, extra-cmake-modules, pkgconf, qt6-qtbase, qt6-qtdeclarative, qt6-qtwayland, wayland, wayland-protocols, libxkbcommon.

Required by (4): kscreen, kscreenlocker, plasma-workspace, spectacle.

Sources: layer-shell-qt-6.8.2.tar.xz (35.6 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 layer-shell-qt'

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 KF_SKIP_PO_PROCESSING=ON \
	-Wno-dev
cmake --build build
DESTDIR=$PKG cmake --install build

Libraries: libLayerShellQtInterface.so.

Directories: /usr/include/LayerShellQt, /usr/lib/cmake/LayerShellQt, /usr/lib/qt6/qml/org/kde/layershell, /usr/share/licenses/layer-shell-qt.

The plugin talks to the compositor through Qt Wayland’s private client API, which carries no compatibility promise between Qt releases, so this port is rebuilt with every qt6-qtwayland bump. The tests directory is configured whatever BUILD_TESTING says and builds layershellqt-test, which the install leaves out.