February 17, 2012

ahmed kato ahmed kato
Lab Rat
72 posts

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??!! =)

 Signature 

Ahmed Kato
Computer & communications student
Intern and MSP at Microsoft

5 replies

February 17, 2012

mlong mlong
Mad Scientist
1517 posts

Which platform and which version of Qt are you using?

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

 Signature 

Senior Software Engineer
AccuWeather Enterprise Solutions
/* My views and opinions do not necessarily reflect those of my employer.  Void where prohibited. */

February 17, 2012

ahmed kato ahmed kato
Lab Rat
72 posts

windows 7 … qt4 SDK 2010.05

 Signature 

Ahmed Kato
Computer & communications student
Intern and MSP at Microsoft

February 17, 2012

Volker Volker
Robot Herder
5428 posts

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.

February 18, 2012

ahmed kato ahmed kato
Lab Rat
72 posts

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

and then use nmake to build ??

 Signature 

Ahmed Kato
Computer & communications student
Intern and MSP at Microsoft

February 19, 2012

Volker Volker
Robot Herder
5428 posts

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

 
  ‹‹ [Solved] Specifying a font using CSS      pyqt QToolbox click event ››

You must log in to post a reply. Not a member yet? Register here!