享受生活 - Enjoy Life!

Just so so.

Build Qt with OpenSSL, VC++ 2005 EE(SP1) on Windows XP

没有评论

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.8h\INSTALL.W32.

Open the Visual Studio 2005 Command Prompt, then

cd C:\openssl-0.9.8h
perl Configure VC-WIN32 --prefix=c:/OpenSSL
ms\do_ms
nmake -f ms\ntdll.mak
nmake -f ms\ntdll.mak test
nmake -f ms\ntdll.mak install

3. Build Qt with OpenSSL
Download qt-win-opensource-src-4.4.3.zip, unpack it to C:\Qt\4.4.3-oss.

Open the Visual Studio 2005 Command Prompt, then

set INCLUDE=C:\openssl-0.9.8h\include;%INCLUDE%
set LIBPATH=C:\openssl-0.9.8h\lib;%LIBPATH%
set PATH=C:\openssl-0.9.8h\bin;C:\Qt\4.4.3-oss\bin;%PATH%
cd C:\Qt\4.4.3-oss\
configure.exe -release -openssl
nmake sub-src

cd examples\network\securesocketclient
qmake
nmake
cd releasese
curesocketclient

作者:Cavendish

时间:08/10/27 2:54 下午

分类: 技术

标签:, ,



发表评论