Jump to content

Get Involved/development/More

From KDE Community Wiki
Revision as of 18:53, 26 September 2025 by Nmariusp (talk | contribs) (Alpine Linux: The KDE project kwayland requires Qt 6.9)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

This page is the continuation with more advanced topics of the page Get_Involved/development.

kde-builder has replaced the previous KDE build framework named kdesrc-build.

Other operating systems

Kubuntu 25.04

The default configuration of kde-builder requires Qt version 6.7. The KDE project kwayland requires Qt 6.9. Kubuntu 25.04 has Qt version 6.8.2.

Kubuntu <= 24.10

The default configuration of kde-builder requires Qt version 6.7. Kubuntu 24.10 has Qt version 6.6. It is recommended that you use a Linux OS that is better supported by kde-builder.

If you are a more seasoned developer you might be able to use Kubuntu for kde-builder by installing Qt6 using the Qt online installer or by building Qt6 using kde-builder.

Alpine Linux

Install the latest release of Alpine Linux with the KDE Plasma desktop. See https://www.youtube.com/watch?v=f_5VQluMXBo .

doas apk add bash curl doas-sudo-shim
bash
mkdir -p ~/.local/bin
echo 'export PATH=~/.local/bin:$PATH' >> ~/.bashrc
exit
bash

Install kde-builder.

Edit the file ~/.config/kde-builder.yaml , in the "global:" section:

  cmake-options: >
    ...
    -DBUILD_PYTHON_BINDINGS=OFF

The KDE project kwayland requires Qt 6.9. Alpine Linux 3.22.1 has Qt version 6.8.3.

FreeBSD

Install the latest release of FreeBSD with the KDE Plasma desktop. See https://www.youtube.com/watch?v=a7KAOnIAL8w .

Your user should be member of the "wheel" user group (e.g. this can be configured in the FreeBSD installer, when creating your user you can select additional user groups for your user). Your user should be able to use sudo:

pkg install sudo
visudo
# Uncomment the line: %wheel ALL=(ALL:ALL) ALL

Install kde-builder.

See https://www.youtube.com/watch?v=HRiKzaw8cAw .

OpenBSD

OpenBSD is not currently supported by kde-builder.

See https://www.youtube.com/watch?v=Ypw7ZqLwzgM

Install the latest release of OpenBSD with KDE Plasma 6 desktop on your hardware computer or in a virtual machine. In the installer keep the defaults, the user created by the installer is named "administrator" in this example.

# Enable doas
su -
cp /etc/examples/doas.conf /etc/doas.conf
exit
# kde-builder needs sudo.
mkdir -p ~/.local/bin ; ln -s /usr/bin/doas ~/.local/bin/sudo
echo 'export PATH=~/.local/bin:$PATH' >> ~/.bashrc

# Test doas.
doas su
# kde-builder needs bash.
pkg_add bash
chsh -s /usr/local/bin/bash
exit

# As user administrator
chsh -s /usr/local/bin/bash

# As per https://rsadowski.de/posts/2024-05-20-kde6-on-openbsd , https://openports.pl/path/meta/kde,-plasma
doas su
pkg_add kde-plasma kate

# I recommend that you use tigervnc. See https://nmariusp.github.io/install-os.html search for OpenBSD.

After you install kde-builder:

# Edit the file ~/.config/kde-builder.yaml:
  cmake-options: >
    -DCMAKE_BUILD_TYPE=RelWithDebInfo
    -DKF_IGNORE_PLATFORM_CHECK=ON

# Also set environment variable:
export CMAKE_PREFIX_PATH=/usr/local/lib/qt6/cmake
# Or
export CMAKE_PREFIX_PATH=/usr/local/lib/qt5/cmake

Microsoft Windows

You can build and develop KDE projects using the Microsoft Windows operating system.

Apple macOS

You can build and develop KDE projects using the Apple macOS operating system.

Other CPU architectures than x86_64/amd64

You can build and develop KDE projects using a Linux OS installed on an ARM architecture CPU.