forked from frida/cryptoshark
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add partial Qt build instructions for Windows
- Loading branch information
Ole André Vadla Ravnås
committed
Sep 9, 2014
1 parent
a010292
commit 1a28573
Showing
5 changed files
with
69 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,3 +2,6 @@ | |
/agent.js | ||
/node_modules | ||
/vendor.js | ||
/tools/dist | ||
/tools/openssl-* | ||
/tools/qt5 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
perl -pi.bak -e "s,/Ox /O2 /Ob2,/Os /GL,g" util\pl\VC-32.pl | ||
perl -pi.bak -e "s,/subsystem:console /opt:ref,/subsystem:console /ltcg /opt:ref,g" util\pl\VC-32.pl | ||
perl Configure VC-WIN32 --prefix=%CRYPTOSHARK_PREFIX% | ||
call ms\do_nasm | ||
nmake -f ms\nt.mak | ||
nmake -f ms\nt.mak install |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
perl -pi.bak -e "s,-O2 -MD,-Os -MT,g" mkspecs\win32-msvc2013\qmake.conf | ||
set QMAKESPEC= | ||
configure -opensource -confirm-license -release -static -ltcg -nomake examples -nomake tests -no-style-fusion -opengl dynamic -qt-zlib -qt-libpng -qt-libjpeg -openssl-linked -I %CRYPTOSHARK_PREFIX%\include -L %CRYPTOSHARK_PREFIX%\lib OPENSSL_LIBS="-lssleay32 -llibeay32 -ladvapi32 -lcrypt32 -lgdi32 -luser32" -no-icu -no-dbus | ||
bin\qmake.exe qtbase.pro | ||
nmake |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
@echo off | ||
|
||
set CRYPTOSHARK_PREFIX=%~dp0dist | ||
|
||
set VSINSTALLDIR=C:\Program Files (x86)\Microsoft Visual Studio 12.0\ | ||
set VCINSTALLDIR=%VSINSTALLDIR%VC\ | ||
set SDKINSTALLDIR=C:\Program Files (x86)\Windows Kits\8.1\ | ||
|
||
set PATH=C:\Program Files\Python27;C:\Program Files\Perl\bin;C:\Program Files (x86)\Git\cmd;C:\Program Files (x86)\nasm;%SDKINSTALLDIR%bin\x86;%VCINSTALLDIR%bin;%VSINSTALLDIR%Common7\IDE;%PATH% | ||
set INCLUDE=%SDKINSTALLDIR%Include\um;%SDKINSTALLDIR%Include\shared;%VCINSTALLDIR%include | ||
set LIB=%SDKINSTALLDIR%Lib\winv6.3\um\x86;%VCINSTALLDIR%lib | ||
|
||
set QMAKESPEC=win32-msvc2013 | ||
|
||
cd %~dp0 | ||
cmd |