PDA

View Full Version : Build qt 4.8.3 with openssl with VS2012



Edder
29th November 2012, 07:04
Hi community,

I builded qt 4.8.3 x86 on Windows 8 x64 with VS2012 (MSVC11) and now I'm trying to add openssl support, these are my configure parameters:

-openssl -I D:\Programmierung\C++\OpenSSL-Win32\include -L D:\Programmierung\C++\OpenSSL-Win32\lib -debug-and-release -no-webkit -no-phonon -no-phonon-backend -no-script -no-scripttools -no-qt3support -no-multimedia -no-ltcg
OpenSSL support seems to be added, because I can compile with this to check whether its enabled.

qDebug() << QSslSocket::supportsSsl();
But when I start my application, I get this error message.
The procedure entry point "?supportsSsl@QSslSocket@@SA_NXZ" could not be located in "D:\Programmierung\C++\Qt\Projekte\http\Win32\Debug \http.exe"
And I dont know why, I already copied the openssl dll's into my program folder, so this isnt the issue.
I think I made a mistake at the build, I'm quite sure about the include path -I of openssl.
But what about the lib -L path, should it point to ...\OpenSSL\lib or lib\VC or lib\VC\static or only to the root of OpenSSL?

Edder
12th December 2012, 19:08
No one knows how to build qt (now 4.8.4) with openssl and VS2012?