qtbase: link against libssl at compile-time
When openssl functions are called from qt, the following errors appears:
qt.network.ssl: QSslSocket: cannot resolve EVP_PKEY_base_id qt.network.ssl: QSslSocket: cannot resolve SSL_get_peer_certificate
This is a known issue for "meta-qt5" layer: https://github.com/meta-qt5/meta-qt5/issues/437
The solution is to force libQt5Network.so to link against openssl library at compile-time by providing "-openssl-linked" option. https://doc.qt.io/qt-5/ssl.html#enabling-and-disabling-ssl-support
The qtbase recipe has a special variable "OPENSSL_LINKING_MODE" that allows to choose whether to link to OpenSSL library at linking time or run time.
Signed-off-by: Dmitry Petrov dmitry.petrov@rtsoft.de