4
* You need Qt 4.2 or higher to build Psi. Just download and install the MingW32
5
self-installer. All the instructions below are performed from within the Qt command
6
prompt (found in the Start menu)
8
* You need QCA 2.0 and the QCA OpenSSL plugin, which you can get at
9
http://delta.affinix.com/qca/2.0/beta2
10
Instructions on how to build these packages can be found below.
12
* If you want to use the QCA OpenSSL plugin on Windows, you will need to
13
download and install the OpenSSL package from
14
http://www.openssl.org/related/binaries.html
16
The 'Building QCA' and 'Building QCA the OpenSSL plugin' sections can be
17
skipped by downloading the sources of these packages, and unpackaging them
18
in third-party/qca (see the INSTALL file for the exact location of each
19
package). Then, uncomment the 'CONFIG += qca-static' in conf_windows.pri.
25
* Edit crypto_win.prf and change the QCA_PATH to the dir where you unpacked QCA. Then,
26
change -lqca to -lqca2.
28
* Copy crypto_win.prf to the mkspecs/features subdir of your Qt dir, and rename it to
31
* In the src/ dir, run the following commands:
36
* Copy lib/qca2.dll to your system dir (e.g. \Windows\System32)
40
Building the QCA OpenSSL plugin
41
-------------------------------
43
* Go to the dir where you unpacked OpenSSL. In the lib\MingW subdir of that dir, copy the
44
files ssleay32.a and libeay32.a to ssleay32.lib and libeay32.lib respectively.
46
* Edit qca-openssl.pro, and change the OPENSSL_PREFIX in
47
the windows section to point to the dir where you installed OpenSSL (e.g. C:/OpenSSL).
48
Change -L$$OPENSSL_PREFIX/lib into -L$$OPENSSL_PREFIX/lib/MingW.
50
* Run the following commands:
60
* Edit src/src.pro in the Psi tree, and remove the line CONFIG += DEBUG.
62
* From the toplevel dir in your tree, run the following commands:
67
* There should now be a binary psi.exe in src/release.
74
To package everything up into a self-containing dir, edit win32/Makefile to reflect your
79
This should make a dir win32/psi with all the necessary files.