[PyQt] pyqtdeploy Demo cross-compiling -- setting up android sysroot
Phil Thompson
phil at riverbankcomputing.com
Mon Feb 4 22:25:52 GMT 2019
On 4 Feb 2019, at 8:17 pm, me at alandmoore.com wrote:
>
> Having successfully worked through compiling the pyqtdeploy demo for my own platform, I'm attempting to work through the process of cross-compiling for Android.
>
> I'm currently stuck on getting the sysroot built.
>
> My questions are:
>
> 1. in the included sysroot.json, the "qtdir" variable is set to "android_armv7". I had installed the Android Qt binaries via the AUR using android-armv7a-eabi-qt5, and adjusted qtdir to 'armv7a-eabi' to match what was shipped in that package. This may be what's messing me up, but these were the only Qt binaries for android I could find available for Arch. Do I need to compile my own or should this work?
The Qt binaries for Android are downloaded using the Qt maintenance tool. No other binaries are supported.
> 2. I'm specifying "android" as the build target, which begins building an android-32 sysroot. How do I specify android 64 bit? I tried "android-64", "android64", "android_arm64" and other variations, but the only one that works is "android". Is there a list of valid values for --target?
Only 32-bit Android is supported at the moment. The Qt v5.12 binaries now include 64-bit Android support so that will be added in the next version of pyqtdeploy.
Phil
More information about the PyQt
mailing list