Changeset View
Changeset View
Standalone View
Standalone View
README.md
Show All 14 Lines | |||||
15 | ## Contributing | 15 | ## Contributing | ||
16 | 16 | | |||
17 | ### Building for Android, using Docker | 17 | ### Building for Android, using Docker | ||
18 | 18 | | |||
19 | An existing docker image exists with everything set up for compilation to Android: kdeorg/android-sdk. | 19 | An existing docker image exists with everything set up for compilation to Android: kdeorg/android-sdk. | ||
20 | The following command will compile itinerary with all its dependencies and output an apk to our /tmp directory: | 20 | The following command will compile itinerary with all its dependencies and output an apk to our /tmp directory: | ||
21 | 21 | | |||
22 | ``` | 22 | ``` | ||
23 | docker run -ti --rm -v /tmp:/output kdeorg/android-sdk /opt/helpers/build-generic | 23 | docker run -ti --rm -v /tmp:/output kdeorg/android-sdk /opt/helpers/build-generic itinerary | ||
24 | ``` | 24 | ``` | ||
25 | 25 | | |||
26 | ### Building for Android, by hand | 26 | ### Building for Android, by hand | ||
27 | 27 | | |||
28 | ``` | 28 | ``` | ||
29 | cmake -DQTANDROID_EXPORTED_TARGET=itinerary-app -DANDROID_APK_DIR=<source dir>/src/app | 29 | cmake -DQTANDROID_EXPORTED_TARGET=itinerary-app -DANDROID_APK_DIR=<source dir>/src/app | ||
30 | make | 30 | make | ||
31 | make install | 31 | make install | ||
Show All 39 Lines |