OpenSSL error



  • I have an error in google chat example and one of my codes need SSL support ..I've downloaded openssl and install all requirements and copy libeay32.dll and ssleay32.dll from the \bin folder to the same place where QtNetwork4.dll or QtNetworkd4.dll is located. and nothing works ... in my code it give me this error:

    QSslSocket: cannot call unresolved function SSLv3_client_method
    QSslSocket: cannot call unresolved function SSL_CTX_new
    QSslSocket: cannot call unresolved function SSL_library_init
    QSslSocket: cannot call unresolved function ERR_get_error
    QSslSocket: cannot call unresolved function ERR_error_string

    Any idea??!! =)


  • Moderators

    Which platform and which version of Qt are you using?

    [Edit: Removed a link which I don't think would have applied.]



  • windows 7 ... qt4 SDK 2010.05



  • AFAIK, the SDK is built with MinGW and the downloadable OpenSSL packages are built against Visual Studio. I could not get a Qt MinGW build to work with the prebuilt OpenSSL, I had to build OpenSSL manually.



  • So i'll use cmd do config ??
    configure -openssl -I D:\OpenSSL\include -L D:\OpenSSL

    and then use nmake to build ??



  • If the includes are there and the MinGW libs, yes this could work.


Log in to reply
 

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