@@ -68,7 +68,7 @@ You’ll save hours of compilation time and avoid a lot of complexity.
6868
6969- ** Shiboken6**
7070 - [ aarch64] ( https://download.qt.io/official_releases/QtForPython/shiboken6/shiboken6-6.10.2-6.10.2-cp311-cp311-android_aarch64.whl )
71- - [ x86_64] ( https://download.qt.io/official_releases/QtForPython/shiboken6/shiboken6-6.10.2-6.10.2-cp311-cp311-android_x86_64.whl ) )
71+ - [ x86_64] ( https://download.qt.io/official_releases/QtForPython/shiboken6/shiboken6-6.10.2-6.10.2-cp311-cp311-android_x86_64.whl )
7272
7373
7474If you prefer building your own wheels, see the [ Legacy] ( #legacy-building-the-wheels-yourself ) section below.
@@ -355,27 +355,26 @@ Android architectures:
355355> [ !NOTE]
356356> You only need to build these once; you can reuse the wheels across projects.
357357
358- #### Important:
359- You need to make a dummy fix for armv7a to work. After you have compiled the other 3 architectues , go to:
358+ ### Important (armv7a Fix) :
359+ You need to make a dummy fix for armv7a to work. After you have compiled the other 3 architectures , go to:
360360` ~/.pyside6_android_deploy/toolchain_armv7a.cmake ` and remove the if statement after line 28, where it
361361applies the ` '-mpopcnt' ` as a target, because this is invalid for armv7a. I don't know why Qt has it there, because
362362it makes no sense, but yeah just remove it, and you are good to go.
363363
364- So basically remove evrything after the ` set(QT_COMPILER_FLAGS) .... -Wno-unused-command-line-argument") `
364+ So basically remove everything after the ` set(QT_COMPILER_FLAGS) .... -Wno-unused-command-line-argument") `
365365and before ` set(QT_COMPILER_FLAGS_RELEASE "-O2 -pipe") `
366366
367- But that don't clean cache then, because this will obviously override the toolchain.
367+ But don't clean cache then, because this will obviously override the toolchain.
368368
369-
370- ** Speed‑ups (optional):**
369+ #### Other Info
371370- To build for ** Python 3.10** , edit ` main.py ` and change ` PYTHON_VERSION = 3.11 ` to ` 3.10 ` .
372371- To change the NDK version from ` r27c ` , edit ` tools/cross_compile_android/android_utilities.py ` .
373372- To speed up CPython cloning, in ` main.py ` find ` if not cpython_dir.exists(): ` and add ` depth=1 ` to ` Repo.clone_from() ` .
374373
375374** Template command:**
376375
377376``` bash
378- python tools/cross_compile_android/main.py --plat-name=< aarch64| armv7a| x86_64| i686> --qt-install-path=/path/to/Qt/6.10.1 --api-level 35 --auto-accept-license --clean-cache all
377+ python tools/cross_compile_android/main.py --plat-name=< aarch64| armv7a| x86_64| i686> --qt-install-path=/path/to/Qt/6.10.2 --api-level 35 --auto-accept-license --clean-cache all
379378```
380379
381380Wheels appear under ` dist/ ` when complete. If you hit errors, try:
0 commit comments