Qt4.8 + openSLL-1.0.2 VS2010 x64

REM Initialize env for msvc 2010 cl compiler
SET PATH=C:\Windows;C:\Windows\system32
REM Set up \Microsoft Visual Studio 2010, where <arch> is amd64, x86, etc.
CALL "C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\vcvarsall.bat" amd64



SET PERL_DIR=C:\Perl\perl

SET PATH=%PERL_DIR%\bin;%PATH%

perl Configure VC-WIN64A no-asm

CALL ms\do_win64a.bat

nmake -f ms\ntdll.mak install
REM *************************Init env for msvc 2010 **********************
SET PATH=C:\Windows;C:\Windows\system32
REM Set up Microsoft Visual Studio 2010 
CALL "C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\vcvarsall.bat" amd64


REM ********* OpenSSL 1.0.2 ************************
SET OPENSLLDIR=D:\openssl-1.0.2
SET PATH=%OPENSLLDIR%\bin;%PATH%
SET INCLUDE=%OPENSLLDIR%\include;%INCLUDE%
SET LIB=%OPENSLLDIR%\out32dll;%LIB%


REM ********* 3rd party build tools binaries:  ruby, python , perl ************
SET PATH=C:\Perl\perl\bin;C:\Python27;C:\RailsInstaller\Ruby2.3.0\bin;%PATH%

REM Generate makefile
configure.exe -confirm-license -opensource  -platform win32-msvc2010 -debug-and-release -opengl desktop -qt-freetype -openssl-linked OPENSSL_LIBS="-lssleay32 -llibeay32 -lgdi32 -luser32" -qt-sql-sqlite -qt-sql-odbc -plugin-sql-sqlite -plugin-sql-odbc -qt-zlib -qt-libpng -qt-libjpeg -nomake examples -nomake docs -nomake demos

nmake /f Makefile

 

posted @ 2017-02-08 10:21  20118281131  阅读(217)  评论(0编辑  收藏  举报