You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: depends/README.md
+6Lines changed: 6 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -30,11 +30,17 @@ Common `host-platform-triplets` for cross compilation are:
30
30
-`aarch64-linux-gnu` for Linux ARM 64 bit
31
31
-`riscv32-linux-gnu` for Linux RISC-V 32 bit
32
32
-`riscv64-linux-gnu` for Linux RISC-V 64 bit
33
+
-`armv7a-linux-android` for Android ARM 32 bit
33
34
-`aarch64-linux-android` for Android ARM 64 bit
35
+
-`i686-linux-android` for Android x86 32 bit
36
+
-`x86_64-linux-android` for Android x86 64 bit
34
37
35
38
The paths are automatically configured and no other options are needed unless targeting Android.
36
39
Before proceeding with an Android build one needs to get the [Android SDK](https://developer.android.com/studio) and use the "SDK Manager" tool to download the NDK and one or more "Platform packages" (these are Android versions and have a corresponding API level).
37
40
In order to build `ANDROID_API_LEVEL` (API level corresponding to the Android version targeted, e.g. Android 9.0 Pie is 28 and its "Platform package" needs to be available) and `ANDROID_TOOLCHAIN_BIN` (path to toolchain binaries depending on the platform the build is being performed on) need to be set.
41
+
42
+
API levels from 24 to 29 have been tested to work.
43
+
38
44
If the build includes Qt, environment variables `ANDROID_SDK` and `ANDROID_NDK` need to be set as well but can otherwise be omitted.
39
45
This is an example command for a default build with no disabled dependencies:
0 commit comments