'How can I attach OpenSSL library to my Qt Android project

I try use openssl library with my Qt Android mobile project (qmake) with Qt5.15.2.

So I followed the steps with tutorial below: https://doc.qt.io/qt-5/android-openssl-support.html

I downloaded repository: https://github.com/KDAB/android_openssl

In my pro file I added:

android: include(../android_openssl/openssl.pri)
INCLUDEPATH += ../android_openssl/static/include/

And I added cipher class from this repo: https://github.com/voidrealms/Qt-152/tree/f91555005b8e25bedc5769d950e0448c65377f14/OpenSSLDemo

Intelisense works fine, but all openssl functions return error "undefined reference" during building project? What can I do wrong?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source