mirror of
https://github.com/izzy2lost/android_openssl.git
synced 2026-06-19 01:20:12 -07:00
8597b4510703ee6c1c9ee25ca771d7b848090102
- Nuke the support for super old Qt versions - Simplify a lot openssl.pri and CMakeLists.txt - Use latest OpenSSL 1.1.1 version - Add OpenSSL 3.x support needed for Qt 6.5 Close: #25, #36, #37, #39
Android OpenSSL support for Qt
OpenSSL scripts and binaries for Android (useful for Qt Android apps)
In this repo you can find the prebuilt OpenSSL libs for Android and a qmake include project .pri file that can be used integrated with Qt projects.
The following directories are available
ssl_3: used for Qt 6.5.0+.ssl_1_1: for Qt Qt 5.12.5+, 5.13.1+, 5.14.0+, 5.15.0+, Qt 6.x.x up to 6.4.x
How to use it
To add OpenSSL in your QMake project, append the following to your .pro project file:
android: include(<path/to/android_openssl/openssl.pri)
To add OpenSSL in your CMake project, append the following to your project's CMakeLists.txt file, anywhere before the find_package() call for Qt5 modules:
if (ANDROID)
include(<path/to/android_openssl/CMakeLists.txt)
endif()
Languages
C
99.9%