Qt built with SSL-Support(?) - QSslSocket::supportsSsl() fails



  • @Visual Studio 2008@
    I rebuilt Qt with following arguments for enabling ssl-support:
    @-openssl -I "C:\OpenSSL-Win32\include" -L "C:\OpenSSL-Win32\lib\VC"@

    Although everything went fine during compiling, QSslSocket::supportsSsl() returns false.
    Did I miss something?
    Thank you in advance.



  • By default OpenSSL is loaded at runtime (using a LoadLibrary call) so you must make sure that the DLL is available in the Windows PATH (add C:\OpenSSL-Win32\lib\VC to your system PATH environment variable), or copy the OpenSSL DLL in the folder where your executable is. If you want it to be statically linked, you must pass the -openssl-linked flag to your configure script as described "there.":http://developer.qt.nokia.com/doc/qt-4.8/ssl.html


Log in to reply
 

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