source: trunk/README.OS2@ 551

Last change on this file since 551 was 542, checked in by Dmitry A. Kuminov, 15 years ago

README for GA (update #2).

File size: 17.8 KB
Line 
1This is Qt version 4.5.1 GA for OS/2 and eCS.
2
3This document contains a brief information on the OS/2 version of the Qt
4library. Please read it carefully before starting your work. You may also
5visit the project page at
6
7 http://svn.netlabs.org/qt4/wiki
8
9to get more information and the latest news and also to report bugs.
10
11To get a brief list of OS/2-specific changes from release to release
12please see the CHANGES.OS2 file included in this distribution.
13
14
15
16REQUIREMENTS
17
18In order to compile the Qt library and Qt-based applications, you will need
19the following tools:
20
21 - One of the OS/2 Warp 4, OS/2 Warp 4.5 or eComStation operating systems.
22
23 - InnoTek GCC compiler version 3.3.5 CSD3 or 4.4.2 (recommended).
24 You can download the GCC 4.4.2 compiler using the following link:
25
26 http://download.smedley.info/gcc-4.4.2-os2-20091205.zip
27
28 GCC 4.4.2 requires newer binutils available at:
29
30 http://download.smedley.info/binutils-2.19.1-os2-20090427.zip
31
32 Note that in order to use the above version of GCC, you will also need
33 to install the previous 3.x version (e.g. 3.3.5 CSD3) available at:
34
35 ftp://ftp.netlabs.org/pub/gcc/GCC-3.3.5-csd3.zip
36
37 - Patched OpenWatcom linker which you can download from here:
38
39 ftp://ftp.netlabs.org/pub/gcc/wl-hll-r1.zip
40
41 Note that if you use IBM ILINK (no matter what version), you will
42 not be able to build the debug version of the library due to
43 bugs/limitations of ILINK.
44
45 - GNU Make 3.81beta1 or above (not tested) available at:
46
47 http://unix.os2site.com/pub/binary/make/make-3_81beta1-bin-static.zip
48
49 - LxLite 1.3.3 or above (not tested) if you want Qt DLLs and application
50 executables to be compressed (to save hard disk space and load time). If
51 you have a recent eComStation installation (e.g. 2.0 rc6) you will already
52 have LxLite installed. Otherwise, you may take it from here:
53
54 http://www.os2site.com/sw/util/archiver/lxlt133.zip
55
56
57
58SETTING UP THE ENVIRONMENT
59
60After unpacking the GCC archive, you will have to set up the compiler
61environment by invoking gccenv.cmd from the "bin" subdirectory with the correct
62arguments (type gccenv.cmd -? for help). For the OpenWatcom linker, specify
63WLINK as the second argument.
64
65Please note that setting up the GCC 4.x environment requires some additional
66steps. Please look through the README files contained within the OS/2
67distribution.
68
69You will also need to perform the following steps:
70
71 - Make sure the selected linker, the make utility and LxLite executable are
72 in PATH.
73
74 - Make sure CMD.EXE is your command line processor (the generated makefiles
75 will rely on its 'copy', 'if' and other commands). If you have a Unix shell
76 (SH.EXE) in your environment, you may need to force GNU make to use CMD.EXE
77 by doing 'set MAKESHELL=C:\OS2\CMD.EXE' where C: is your boot drive.
78
79 - Do set LIBRARY_PATH=C:\OS2\DLL;C:\MPTN\DLL where C: is your boot drive.
80
81 - Make sure that there are no traces of any other Watcom or OpenWatcom
82 installation in the environment where you build Qt as it will most likely