Raresh Rus 1d9d497b75 .kde-ci.yml add "plasma/layer-shell-qt"
This is need such that plasma-keyboard built using kde-builder can run correctly.
Technical details:
Kubuntu 25.10, Qt installed using Qt online installer. Fresh kde-builder installation:

kde-builder libplasma
kde-builder plasma-keyboard
kde-builder --run plasma-keyboard

says:

qt.qml.propertyCache.append: Member contentWidth of the object PopupList_QMLTYPE_71 overrides a member of the base object. Consider renaming it or adding final or override specifier
QQmlApplicationEngine failed to load component
qrc:/qt/qml/org/kde/plasma/keyboard/main.qml:66:9: Type LanguagePopup unavailable
qrc:/qt/qml/org/kde/plasma/keyboard/LanguagePopup.qml:14:1: module "org.kde.layershell" is not installed
Cannot run plasma-keyboard standalone. You can enable it in Plasma’s System Settings app, on the “Virtual Keyboard” page.QThreadStorage: entry 4 destroyed before end of thread 0x63a82b174350
QThreadStorage: entry 3 destroyed before end of thread 0x63a82b174350
QThreadStorage: entry 2 destroyed before end of thread 0x63a82b174350

https://invent.kde.org/plasma/plasma-keyboard/-/blob/master/src/qml/LanguagePopup.qml?ref_type=heads#L14
says:

import org.kde.layershell as LayerShell

https://invent.kde.org/plasma/plasma-keyboard/-/blob/master/.flatpak-manifest.json?ref_type=heads#L42
says:

        {
            "name": "layer-shell-qt",
            "buildsystem": "cmake-ninja",
            "config-opts": [
                "-DCMAKE_BUILD_TYPE=Release",
                "-DBUILD_TESTING=OFF",
                "-DBUILD_QML=ON"
            ],
            "sources": [
                {
                    "type": "git",
                    "url": "https://invent.kde.org/plasma/layer-shell-qt.git",
2026-03-19 20:23:24 +02:00
2026-03-18 01:57:12 +00:00
2025-02-06 08:03:06 +01:00
2025-12-11 20:51:27 -05:00
2025-09-20 07:17:06 +00:00
2026-01-09 03:17:48 +01:00

Plasma Keyboard

The plasma-keyboard is a virtual keyboard based on Qt Virtual Keyboard designed to integrate in Plasma.

It wraps Qt Virtual Keyboard in a window, and uses the input-method-v1 Wayland protocol to communicate with the compositor to function as an input method.

Build and install

mkdir build && cd build
cmake ..
make && make install

Install using the flatpak nightly repository

https://cdn.kde.org/flatpak/plasma-keyboard-nightly/org.kde.plasma.keyboard.flatpakref

See also: https://userbase.kde.org/Tutorials/Flatpak#Nightly_KDE_apps

Layouts

The keyboard layouts are located in the src/layouts folder.

They are forked from Qt's layouts, with modifications that we want for Plasma. Please view the official Qt documentation for a guide on how to create and modify keyboard layouts.

To use Qt's built-in keyboard layouts rather than the ones we supply in plasma-keyboard, set PLASMA_KEYBOARD_USE_QT_LAYOUTS=1 when starting KWin (or the login session).

Troubleshooting

KWin by default only shows the keyboard when a text field is interacted with by touch. Set KWIN_IM_SHOW_ALWAYS=1 when starting KWin (or the login session) in order to force the keyboard to always pop up.

Languages
QML 63.9%
C++ 33.9%
CMake 2%
Shell 0.2%