File: INSTALL.win32

package info (click to toggle)
sip 2.5-2.2
  • links: PTS
  • area: main
  • in suites: woody
  • size: 1,340 kB
  • ctags: 1,472
  • sloc: ansic: 11,902; sh: 6,482; yacc: 1,987; cpp: 540; lex: 423; makefile: 104
file content (41 lines) | stat: -rw-r--r-- 1,375 bytes parent folder | download
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
35
36
37
38
39
40
41
These are the generic build and installation instructions for SIP for Windows,
specifically using Microsoft Visual C++ and Borland.

To build the SIP runtime DLL (with Qt support enabled), check the appropriate
Makefile and make sure the name of the Qt library matches the one installed on
your system.  Then, run the following commands:

	cd siplib
	nmake -f Makefile.win32-msvc
    or  make -f Makefile.win32-borland

The compiler must be able to find the Qt and Python header files and libraries
so set the QTDIR, PATH, INCLUDE and LIB environment variables appropriately.
Also check that the name of the qt.lib file is correct for your system.

Copy the file sip.dll to an appropriate directory on your PATH.

To build the SIP static library (with Qt support enabled), run the following
commands:

	cd siplib
	nmake -f Makefile.win32-msvc.static
    or  make -f Makefile.win32-borland.static

Copy the file sip.lib to an appropriate directory on your LIB path.

If you want to compile code generated by SIP then copy the files sip.h and
sipQt.h to a directory that your C++ compiler can find them.  Similarly for
sip.lib.

To build the SIP code generator, run the following commands:

	cd sip
	nmake -f Makefile.win32-msvc
    or  make -f Makefile.win32-borland

Copy the file sip.exe to an appropriate directory on your PATH.


Phil Thompson
phil@river-bank.demon.co.uk