SSL in Standard Framework



  • Hi

    I am having an issue with QNetworkManager and SSL. I am calling a Webservice and when the web service is deployed using https, my finished() slot is never called. This works fine under Mac and the same service also works fine when deployed using http.

    I did some searching and it appears this may be because Qt does not ship with SSL. Is this correct ? I have downloaded the Framework from here:

    http://qt.nokia.com/downloads/sdk-windows-cpp

    If this is the case, I assume my best best is to build Qt from source and include the OpenSSL libs ?

    Thanks so much

    J



  • It could be sufficient to install the "OpenSSL":http://openssl.org/ libs on windows. Make sure that the DLLs are in the search path or copy them to the folder where your application .exe is. This should be sufficient.



  • I have OpenSLL dll's included in Qt sdk, both for MinGW and VC. They are in QtSDK/Desktop/Qt/4.7.4/mingw or msvc2008/bin directory. As Volker said is sufficient to have libeay32.dll and ssleay32.dll in search path or in folder where your exe is.


Log in to reply
 

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