Building Qt with OpenSSL support using the Windows SDK?
Building Qt with OpenSSL support using the Windows SDK?
Last edited by josecarlosmissias; 7th May 2010 at 19:30.
You have to download OpenSSL,you can download source code and compile it yourself,or you caon just download the binary.
If you download the binary,install it to somewhere,like D:\OpenSSL
Then open cmd,cd to qt's directory,like D:\Qt\2010.02.1\qt
Type:
After that,type nmake(mingw32-make) to build it.Qt Code:
configure -openssl -I D:\OpenSSL\include -L D:\OpenSSLTo copy to clipboard, switch view to plain text mode
It will cost you several hours.
It's not the goodbye that hurts,but the flashback that follow.
Adam Badura (14th March 2013), josecarlosmissias (10th May 2010)
Hi all,
I just want to show the steps, I performed to install on 64 bit.
1) Install winSDK_amd64 i.e. GRMSDKX_EN_DVD.iso.
2) Open the "Windows SDK 7.1 Command Prompt - 64bit" command prompt.
>> C:\Windows\System32\cmd.exe /E:ON /V:ON /T:0E /K "C:\Program Files\Microsoft SDKs\Windows\v7.1\Bin\SetEnv64.cmd" <<
3) Install the following from the opened SDK command prompt.
4) you may download OpenSSL from "http://www.slproweb.com/products/Win32OpenSSL.html". It may be named "Win64 OpenSSL v1.0.0e". You may choose newer version.
It is also possible to choose older version (Win64 OpenSSL v0.9.8r), it it did not worked properly with QT's version.
5) Install the downloaded OpenSSL 64 bit version.
6) Install the latest QT version.
7) Change the following file in "C:\Qt\4.7.4-msvc-2010\mkspecs\win32-msvc2010\qmake.conf".
Remove " -O2 " from the following two lines in the file.
-----
QMAKE_CFLAGS_RELEASE = -MD
QMAKE_CFLAGS_RELEASE_WITH_DEBUGINFO += -MD -Zi
-----
This was required for the version of VS2010 and QT 4.7.4. May be this step is not necessary for the newer versions.
8) Run the following from QT path
configure -webkit -openssl -I C:\OpenSSL-Win64\include -L C:\OpenSSL-Win64\lib\VC\static
9) Run the following from QT path
nmake
Regards..
Bookmarks