Trying to add SSL_CTX_set_client_cert_cb to QSslSocketBackendPrivate

  • Hi,


    I am trying to add a SSL_CTX_set_client_cert_cb ssl function in the QSslSocketBackendPrivate::initSslContext function.
    But i got
    "error LNK2019: unresolved external symbol _SSL_CTX_set_client_cert_cb referenced in function "public: bool __thiscall QSslSocketBackendPrivate::initSslContext(void)" "
    In the build (configure -shared -platform win32-msvc2015 -release -skip webengine -nomake examples -nomake tests -openssl -icu -I "c:\Libraries\OpenSSL-Win32\include" -L "c:\Libraries\OpenSSL-Win32\lib" -nomake examples )

    If I create a project then I can add the SSL_CTX_set_client_cert_cb function all will works good.
    Please help.

  • Try to rebuild Qt with -openssl-linked

  • Working


Log in to reply

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.