Changeset View
Changeset View
Standalone View
Standalone View
toolchain/Android.cmake
Show First 20 Lines • Show All 84 Lines • ▼ Show 20 Line(s) | |||||
85 | # | 85 | # | ||
86 | # cmake \ | 86 | # cmake \ | ||
87 | # -DCMAKE_TOOLCHAIN_FILE=/usr/share/ECM/toolchain/Android.cmake \ | 87 | # -DCMAKE_TOOLCHAIN_FILE=/usr/share/ECM/toolchain/Android.cmake \ | ||
88 | # -DQTANDROID_EXPORTED_TARGET=myapp \ | 88 | # -DQTANDROID_EXPORTED_TARGET=myapp \ | ||
89 | # -DANDROID_APK_DIR=myapp-apk | 89 | # -DANDROID_APK_DIR=myapp-apk | ||
90 | # make | 90 | # make | ||
91 | # make create-apk-myapp | 91 | # make create-apk-myapp | ||
92 | # | 92 | # | ||
93 | # The APK would then be found in ``myapp_build_apk/bin`` in the build directory. | 93 | # You can specify the APK output directory by setting ``ANDROID_APK_OUTPUT_DIR``. | ||
94 | # Otherwise the APK can be found in ``myapp_build_apk/`` in the build directory. | ||||
apol: ANDROID_APK_INSTALL_DIR should be between quotes like other variables.
Also I'd call the… | |||||
94 | # | 95 | # | ||
95 | # The create-apk-myapp target will be able to take an ARGS parameter with further | 96 | # The create-apk-myapp target will be able to take an ARGS parameter with further | ||
96 | # arguments for androiddeployqt. For example, one can use:: | 97 | # arguments for androiddeployqt. For example, one can use:: | ||
97 | # | 98 | # | ||
98 | # make create-apk-myapp ARGS="--install" | 99 | # make create-apk-myapp ARGS="--install" | ||
99 | # | 100 | # | ||
100 | # To install the apk to test. To generate a signed apk, one can do it with the | 101 | # To install the apk to test. To generate a signed apk, one can do it with the | ||
101 | # following syntax:: | 102 | # following syntax:: | ||
▲ Show 20 Lines • Show All 121 Lines • Show Last 20 Lines |
ANDROID_APK_INSTALL_DIR should be between quotes like other variables.
Also I'd call the variable ANDROID_APK_OUTPUT_DIR. We have an install concept already.