{"id":19430602,"url":"https://github.com/kdab/android_openssl","last_synced_at":"2025-05-15T20:07:22.811Z","repository":{"id":41165369,"uuid":"166021918","full_name":"KDAB/android_openssl","owner":"KDAB","description":"OpenSSL scripts and bins for Android (useful for Qt on Android apps)","archived":false,"fork":false,"pushed_at":"2025-02-17T13:07:50.000Z","size":172537,"stargazers_count":332,"open_issues_count":6,"forks_count":154,"subscribers_count":30,"default_branch":"master","last_synced_at":"2025-04-08T13:01:35.989Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/KDAB.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-01-16T10:35:20.000Z","updated_at":"2025-03-31T10:31:15.000Z","dependencies_parsed_at":"2025-03-18T10:10:36.137Z","dependency_job_id":null,"html_url":"https://github.com/KDAB/android_openssl","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KDAB%2Fandroid_openssl","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KDAB%2Fandroid_openssl/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KDAB%2Fandroid_openssl/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KDAB%2Fandroid_openssl/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/KDAB","download_url":"https://codeload.github.com/KDAB/android_openssl/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254414499,"owners_count":22067272,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-10T14:25:47.360Z","updated_at":"2025-05-15T20:07:17.787Z","avatar_url":"https://github.com/KDAB.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Android OpenSSL support for Qt\nOpenSSL scripts and binaries for Android (useful for Qt Android apps)\n\nIn this repo you can find the prebuilt OpenSSL libs for Android, a QMake include project `.pri` file that can be used integrated with Qt projects, and a `.cmake` file for CMake based projects.\n\nThe following directories are available\n* `ssl_3`: for Qt 6.5.0+.\n* `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\n\n## How to use it\n### QMake based projects\nTo add OpenSSL to your QMake project, append the following to your `.pro` project file:\n\n```\nandroid: include(\u003cpath/to/android_openssl/openssl.pri)\n```\n\n### CMake based projects\nTo add OpenSSL to your CMake project, append the following to your project's `CMakeLists.txt` file:\n\n```\nif (ANDROID)\n    FetchContent_Declare(\n      android_openssl\n      DOWNLOAD_EXTRACT_TIMESTAMP true\n      URL https://github.com/KDAB/android_openssl/archive/refs/heads/master.zip\n#      URL_HASH MD5=c97d6ad774fab16be63b0ab40f78d945 #optional\n    )\n    FetchContent_MakeAvailable(android_openssl)\n    include(${android_openssl_SOURCE_DIR}/android_openssl.cmake)\nendif()\n```\nor, if you cloned the repository into a subdirectory:\n\n```\ninclude(\u003cpath/to/android_openssl\u003e/android_openssl.cmake)\n```\n\nThen\n\n```\nqt_add_executable(your_target_name ..)\nqt_add_executable(your_second_target_name ..)\n\nif (ANDROID)\n    add_android_openssl_libraries(your_target_name your_second_target_name)\nendif()\n\n```\n\n## Build Script\n\nThe build script `build_ssl.sh` can be used to rebuild the OpenSSL libraries. Since specific\nversions might depend or work better with specific NDK versions, the OpenSSL/NDK version\ncombinations are defined in the script. Before running the script, check that the NDK paths\nare correct for your environment.\n\n### Build Prerequisites\n\nThe build script was tested against `bash` and `zsh` on Linux and macOS.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkdab%2Fandroid_openssl","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkdab%2Fandroid_openssl","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkdab%2Fandroid_openssl/lists"}