ekke / android-openssl-qt

scripts to generate openssl .so to be used from Qt Android Projects
50 stars 18 forks source link

support for arm64-v8a #11

Open vdaele opened 5 years ago

vdaele commented 5 years ago

Some feedback when adding support for arm64-v8a. I first modified build-all-arch.sh and set archs=(armeabi-v7a x86 arm64-v8a)

In setenv-android-mod.sh, I had to replace randlib with ranlib (a typo I guess?)

In android-openssl.pri I would suggest to use $$PWD/../../android-openssl-qt/prebuilt/$$ANDROID_TARGET_ARCH/libcrypto.so

Note also that Qt5.13 will be packaged with OpenSSL1.1 afaik

ekke commented 5 years ago

thanks next week I'll switch to Qt 5.13 and openSSL 1.1 I'll rely on https://github.com/KDAB/android_openssl

BTW: AFAIK 5.13 is not packaged with openSSL for Android

vdaele commented 5 years ago

Thanks for pointing me to the KDAB repo (although I was quite happy with yours :-) ) My last sentence should probably be rephrased to "Note also that the QtNetwork in 5.13 expects an OpenSSL 1.1 API" (see also https://bugreports.qt.io/browse/QTBUG-76290)

ekke commented 5 years ago

YEP ;-)