Here you can find the recipes to build KDE's flatpak runtime, namely org.kde.Platform and its org.kde.Sdk. It's a set of libraries that should offer a wide range of library to use in Qt applications, be KDE from or not.
You can find the source in here: https://invent.kde.org/packaging/flatpak-kde-runtime
Issues can be reported here: https://bugs.kde.org/enter_bug.cgi?product=Qt%2FKDE%20Flatpak%20Runtime
Here you can find some documentation on how to get the big picture of Flatpak usage in KDE: https://community.kde.org/Guidelines_and_HOWTOs/Flatpak
There's a different branch for each version of Qt. The KDE Frameworks version updates with it as new stable releases become available.
This can generally be built with flatpak-builder as explained in its documentation. There's a Makefile to make it a bit easier to trigger:
- ARCH: Should be one of the offered by
flatpak --supported-arches
. Static qemu builds can be used for cross-compilation. Defaults toflatpak --default-arch
- INSTALL_SOURCE: Where to get the dependencies from. Defaults to flathub.
- EXPORT_ARGS: Extra arguments to pass to flatpak-builder.
make remotes
will add flathub.make check
will make sure the json file is valid.make org.kde.Sdk.app
builds the SDK.