Qt 5.14 android aab and openssl binaries
-
How can I use openssl binaries with qt 5.14 and android aab format.I have multiple openssl binaries for different archs.where should I put them as qt builds one apk for all archs?
Is there any way to use one openssl binary for all archs or should I use package managers? -
Hi.
You want to compile the lib for each architecture that you want to support and then add each lib to the ANDROID_EXTRA_LIBS.
So you have something like:
ANDROID_EXTRA_LIBS +=
<OpenSSLPath>/arm/libcrypto_1_1.so
<OpenSSLPath>/arm/libssl_1_1.so
<OpenSSLPath>/arm64/libcrypto_1_1.so
<OpenSSLPath>/arm65/libssl_1_1.soSee also here:
https://github.com/KDAB/android_openssl
https://doc.qt.io/qt-5/android-openssl-support.html
https://medium.com/mindorks/android-app-bundle-aab-98de6dad8ba8 -
How can I use openssl binaries with qt 5.14 and android aab format.I have multiple openssl binaries for different archs.where should I put them as qt builds one apk for all archs?
Is there any way to use one openssl binary for all archs or should I use package managers?@addr3ss in addition of what @pgi1 suggested, you may find these scripts by @ekkescorner useful as well.
-
@addr3ss in addition of what @pgi1 suggested, you may find these scripts by @ekkescorner useful as well.
@Pablo-J-Rogina my scripts are outdated. I'm using now https://github.com/KDAB/android_openssl
(hint: have not yet tested with aab - still on 5.13.2)