diff options
Diffstat (limited to 'Documentation/BuildingOnWindows.txt')
-rw-r--r-- | Documentation/BuildingOnWindows.txt | 31 |
1 files changed, 29 insertions, 2 deletions
diff --git a/Documentation/BuildingOnWindows.txt b/Documentation/BuildingOnWindows.txt index fe2080c..a2d9948 100644 --- a/Documentation/BuildingOnWindows.txt +++ b/Documentation/BuildingOnWindows.txt @@ -2,6 +2,8 @@ Prerequisites ------------ - Microsoft Visual C++ Express Edition -- Python +- Windows SDK +- Python (2.5 <= version < 3) - OpenSSL + * OpenSSL is optional - without it the Windows platform crypto will be used * Download and extract the Windows binary version of OpenSSL from http://www.slproweb.com/products/Win32OpenSSL.html @@ -10,4 +12,5 @@ Prerequisites Building Qt for Microsoft Visual C++ ------------------------------------ +- These steps are optional - the pre-packaged Qt is fine - From the 'Visual C++' 'Programs' group, launch the Visual C++ command prompt - Go to the dir where you installed Qt @@ -23,5 +26,5 @@ Building Swift - Create a file 'config.py' with the following contents, reflecting your local setup: - openssl = "path\to\openssl" + openssl = "path\to\openssl" #optional qt = "path\to\qt" - Run 'scons' @@ -36,2 +39,26 @@ Running tests scons test=all for running all tests. + +Packaging Swift +--------------- +For packaging use: +- Microsoft Visual C++ Express 2008 +- No OpenSSL +- WiX +- config.py should contain: + qt = "c:\\qt\\4.7.4" + vcredist = "c:\\Program Files\\Common Files\\Merge Modules" + debug = 1 + optimize = 1 + wix_bindir = "c:\\program files\\Windows Installer XML v3.5\\bin" +- run + scons dist=1 + +Notes +----- +- The settings debug = 1 and optimize = 1 are strictly required if you use + a precompiled Qt release from the Qt Project; otherwise you will get linker + errors +- On 64-bit Windows it's "Program Files (x86)" instead of "Program Files" in the + paths +- Currently only 32-bit builds of the Swift client are supported |