compiling kde/qt apps for android

Ben Cooksley bcooksley at
Sun Oct 7 07:13:14 BST 2018

On Sun, Oct 7, 2018 at 6:25 PM Jos van den Oever <jos at> wrote:
> Hello KDE-ers,

Hi Jos,

> I've a question about building KDE and Qt apps for Android. I'd like to see
> how hard it is to build a Rust + Qt app for Android. First step is to build a
> plain QML app for Android. Unfortunately, I already failed there.
> There are many steps to set up the environment. So once I figure out the
> magic, I'd like to make a Docker file out of it like I did for Calligra.

We already have Docker containers, which you can fetch from the
Dockerhub repository operated by Sysadmin:

The Dockerfiles and other resources for these images are stored in the
sysadmin/ci-tooling repository, under system-images/

> So far I've come to the point where I need to get the Qt libraries in a
> suitable architecture (Arm). I could compile them myself, but surely there's
> an easier option.
> I think many KDE-ers have an Android phone and would love to use KDE apps on
> it. Improving apps for Android also improves them for Plasma Mobile.
> KDE has a repo for F-Droid with 8 apps at the moment.
> Does anyone know the secret recipe to setting up an environment to build Qt
> applications for Android?

While i'm not familiar with the entire build process, the steps run by
the Binary Factory (which in turns produces the APK files
redistributed through the F-Droid repository) are documented in the
Jenkins pipeline for those jobs, which can be found in
sysadmin/binary-factory-tooling, in the android/ folder.

The variables mentioned in that pipeline can be found in the
current-jobs.json file in the same folder.

For more detail i'd suggest mailing the kde-android at mailing list (CC'ed)

> Cheers,
> Jos


More information about the kde-community mailing list