Add external libraries to Android packages | Qt Creator Documentation

- Qt Creator Documentation
- Add external libraries to Android packages
- Qt Creator 19.0.0

Developing for Android ◦ Create Android packages

# Add external libraries to Android packages

Qt Creator automatically detects which Qt libraries an application uses and adds them as dependencies.

To copy external libraries into the application's library folder and load them on startup:

1. Go to Projects > Build Settings > Build Android APK, and select Details.

2. In Additional Libraries, select the libraries to add.

## Add OpenSSL libraries

To add OpenSSL libraries, select Include prebuilt OpenSSL libraries in the Additional Libraries group.

This adds the OpenSSL include project that you specify in Preferences > SDKs > Android OpenSSL Settings. This works for both qmake and CMake projects.

You can also manually add the paths to the required `libssl.so` and `libcrypto.so` libraries to the Additional Libraries field.

See also How to: Develop for Android and Developing for Android.

Developing for Android ◦ Create Android packages