Build Qt with OpenSSL, VC++ 2005 EE(SP1) on Windows XP
1. OS, Compilers and SDK
OS: Windows XP(SP3)
Compiler: Microsoft Visual C++ 2005 Express Edition with Service Pack 1
SDK: Windows Software Development Kit (SDK) for Windows Server 2008 and .NET Framework 3.5
You need set SDK path in your compiler settings by yourself.
2. Build OpenSSL 0.9.8h
Download OpenSSL 0.9.8h Original Source Package, unpack it to C:openssl-0.9.8h.
Please read C:openssl-0.9.8hINSTALL.W32.
Open the Visual Studio 2005 Command Prompt, then
1 2 3 4 5 6 |
cd C:openssl-0.9.8h perl Configure VC-WIN32 --prefix=c:/OpenSSL msdo_ms nmake -f msntdll.mak nmake -f msntdll.mak test nmake -f msntdll.mak install |
3. Build Qt with OpenSSL
Download qt-win-opensource-src-4.4.3.zip, unpack it to C:Qt4.4.3-oss.
Open the Visual Studio 2005 Command Prompt, then
1 2 3 4 5 6 7 8 9 10 11 12 |
set INCLUDE=C:openssl-0.9.8hinclude;%INCLUDE% set LIBPATH=C:openssl-0.9.8hlib;%LIBPATH% set PATH=C:openssl-0.9.8hbin;C:Qt4.4.3-ossbin;%PATH% cd C:Qt4.4.3-oss configure.exe -release -openssl nmake sub-src cd examplesnetworksecuresocketclient qmake nmake cd releasese curesocketclient |