summaryrefslogtreecommitdiffstats
blob: 8ef6df4010b43d8312c5e059b2987db7580771d4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
Prerequisites
------------
- Qt Open Source Edition
- Microsoft Visual C++ Express Edition
- Cygwin
  * Make sure the following tools are installed in Cygwin: 
    - make, python, gcc-core, gcc-g++
    - autoconf, automake (Only necessary when using the development version) 
- OpenSSL
  * Download and extract the Windows binary version of OpenSSL from
    http://www.slproweb.com/products/Win32OpenSSL.html
  * TODO: Check whether the version from msysDTK works as well. If it does,
    the Makefile and configure script should be adapted, because they assume
    that --with-openssl is set (which may not be necessary)

Building Qt for Microsoft Visual C++
------------------------------------
- From the 'Visual C++' 'Programs' group, launch the Visual C++ command prompt
- Go to the dir where you installed Qt
- Configure Qt:
    configure
- Build Qt:
    nmake

Building Swift
--------------
- From the 'Visual C++' 'Programs' group, launch the Visual C++ command prompt
- From the command prompt, start Cygwin:
    C:\Path\To\Cygwin\cygwin
- Go to the Swift source dir
- (If using the development version, run 'autoconf/autogen.sh')
- Configure the build
    ./configure --with-openssl=/path/to/openssl
- Run 'make'