[Interest] Qt + Android + OpenSSL

Nuno Santos nunosantos at imaginando.pt
Mon Apr 15 20:12:44 CEST 2019


Hi,

I’m trying to use SSL websocket on a Qt 5.12 Android app.

When I run the app it is complaining about the missing functions. 

W qt.network.ssl: QSslSocket: cannot resolve DTLSv1_2_server_method
W qt.network.ssl: QSslSocket: cannot resolve DTLSv1_2_client_method
W qt.network.ssl: QSslSocket: cannot resolve SSL_CONF_CTX_new
W qt.network.ssl: QSslSocket: cannot resolve SSL_CONF_CTX_free
W qt.network.ssl: QSslSocket: cannot resolve SSL_CONF_CTX_set_ssl_ctx
W qt.network.ssl: QSslSocket: cannot resolve SSL_CONF_CTX_set_flags
W qt.network.ssl: QSslSocket: cannot resolve SSL_CONF_CTX_finish
W qt.network.ssl: QSslSocket: cannot resolve SSL_CONF_cmd
W qt.network.ssl: QSslSocket: cannot resolve SSL_set_alpn_protos
W qt.network.ssl: QSslSocket: cannot resolve SSL_CTX_set_alpn_select_cb
W qt.network.ssl: QSslSocket: cannot resolve SSL_get0_alpn_selected
W qt.network.ssl: QSslSocket: cannot resolve DTLS_server_method
W qt.network.ssl: QSslSocket: cannot resolve DTLS_client_method
W qt.network.ssl: QSslSocket: cannot call unresolved function DTLS_client_method

I’m providing OpenSSL 1.0.1s as an ANDROID_EXTRA_LIBS param.

Does anybody know if the problem here is the fact that OpenSSL is too old?

Thanks in advance!

Regards,

Nuno
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20190415/49811e01/attachment.html>


More information about the Interest mailing list