Lägg till externa bibliotek i Android-paket
Qt Creator detekterar automatiskt vilka Qt-bibliotek en applikation använder och lägger till dem som beroenden.
Så här kopierar du externa bibliotek till applikationens biblioteksmapp och laddar dem vid start:
- Gå till Projects > Build Settings > Build Android APK och välj Details.

- I Additional Libraries väljer du de bibliotek som ska läggas till.
Lägg till OpenSSL-bibliotek
För att lägga till OpenSSL-bibliotek väljer du Include prebuilt OpenSSL libraries i gruppen Additional Libraries.
Detta lägger till det OpenSSL-inkluderingsprojekt som du anger i Preferences > SDKs > Android OpenSSL Settings. Detta fungerar för både qmake- och CMake-projekt.

Du kan också manuellt lägga till sökvägarna till de nödvändiga biblioteken libssl.so och libcrypto.so i fältet Additional Libraries.
Se även Så här gör du: Utveckla för Android och Utveckling för Android.
Copyright © The Qt Company Ltd. and other contributors. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.