Changeset View
Changeset View
Standalone View
Standalone View
README.md
1 | # KDE on Android Docker Image | 1 | # KDE on Android Docker Image | ||
---|---|---|---|---|---|
2 | 2 | | |||
3 | For building Qt applications on Android, some extra steps are required in comparison to building them directly on Linux. Specifically, one requires a proper build environment for the cross-compilation step. This Docker script enables you to start without the hassle of first setting up the NDK, SDK, Qt-for-Android, environment variables etc. | 3 | This repository is no longer maintained, its contents have been deleted. | ||
4 | | ||||
5 | This image provides an Ubuntu/Wily with the following extras: | | |||
6 | * installed Android NDK | | |||
7 | * installed Android SDK | | |||
8 | * installed Qt for Android with Linux host | | |||
9 | * installed kdesrc-build | | |||
10 | * user ''kdeandroid'' with the following environment | | |||
11 | * all needed variables for ECM-CMake Toolchain are set | | |||
12 | * command "cmakeandroid" that provides a convenience call to CMake with the toolchain enabled | | |||
13 | * the image provides two users | | |||
14 | * kdeandroid: default user for a developer, no password | | |||
15 | * jenkins: default user for CI system, password "jenkins" | | |||
16 | | ||||
17 | ## Proposed Workflow for Image Creation | | |||
18 | Create the image | | |||
19 | ``` | | |||
20 | cd image | | |||
21 | docker build -t kde-android-sdk . | | |||
22 | ``` | | |||
23 | | ||||
24 | Create the container instance for the needed project, see information about volumes. | | |||
25 | ``` | | |||
26 | docker create -ti --name myproject kde-android-sdk bash | | |||
27 | ``` | | |||
28 | If you want to access the local filesystem to access the source code, consider specifying a docker volume (--volume /localpath:/dockerpath). | | |||
29 | See [Docker Volumes Documentation](https://docs.docker.com/userguide/dockervolumes/) for more information. | | |||
30 | | ||||
31 | Start the container for our project. | | |||
32 | ``` | | |||
33 | docker start -i myproject | | |||
34 | ``` | | |||
35 | 4 | | |||
5 | The current docker image for Qt/KDE applications on Android is called kdeorg/android-sdk | ||||
6 | See documentation at https://community.kde.org/Android/Environment_via_Container |