Qt installation provides prebuilt binaries for Android. From http://doc.qt.io/qt-5/opensslsupport.html, it appears these binaries are built with OpenSSL support but OpenSSL libraries are not part of the package due to legal restrictions. The advice is to build and package the libraries yourself. Two questions:
My application supports Android 4.1 and above. Can I simply rely on
/system/lib/libssl.so
and/system/lib/libcrypto.so
instead of packaging my own OpenSSL libraries? In other words, is it possible that these libraries are not available on any device running OS version 4.1 and above?If I do have to package my own libraries, use libcryto.so and libssl.so in an android project? suggests that the libraries should be named differently, such as,
libPrivateSsl.so
andlibPrivateCrypto.so
. However, if I do that, Qt binaries will not recognize them as they are hardcoded to dynamically look for standard names. What should I do? Regards.