source: trunk/README.OS2@ 165

Last change on this file since 165 was 152, checked in by Dmitry A. Kuminov, 16 years ago

README.OS2: Mention the requirement of CMD.EXE as a shell.

File size: 4.4 KB
Line 
1This is Beta 1 of Qt version 4.5.1 for OS/2 and eCS.
2
3This document contains a brief information on the OS/2
4version of the Qt library. Please visit the project page at
5
6 http://svn.netlabs.org/qt4/wiki
7
8to get more information and the latest news and to report bugs.
9
10
11REQUIREMENTS
12
13In order to compile the Qt library, you will need the following tools:
14
15 - One of the OS/2 Warp 4, OS/2 Warp 4.5 or eComStation operating systems.
16
17 - InnoTek GCC compiler version 3.3.5 CSD3 or above (not tested).
18 You can download a copy of the compiler using the following link:
19
20 ftp://ftp.netlabs.org/pub/gcc/GCC-3.3.5-csd3.zip
21
22 - Patched OpenWatcom linker which you can download from:
23
24 ftp://ftp.netlabs.org/pub/gcc/wl-hll-r1.zip
25
26 Note that if you use IBM ILINK (no matter what version), you will
27 not be able to build the debug version of the library due to
28 bugs/limitations of ILINK.
29
30 - GNU Make 3.81beta1 or above (not tested) available at:
31
32 http://unix.os2site.com/pub/binary/make/make-3_81beta1-bin-static.zip
33
34After unpacking the GCC archive, you will have to set up the compiler
35environment by invoking gccenv.cmd from the bin subdirectory with the
36correct arguments (type gccenv.cmd -? for help). For the OpenWatcom
37linker, specify WLINK as the second argument. You will also need to perform
38the following steps:
39
40 - Make sure the selected linker and the make utility are in PATH.
41
42 - Make sure CMD.EXE is your command line processor (the generated makefiles
43 will rely on its 'copy', 'if' and other commands).
44
45 - set LIBRARY_PATH=C:\OS2\DLL;C:\MPTN\DLL where C: is your boot drive.
46
47 - set QMAKESPEC=os2-g++
48
49 - set QTDIR=<path_to_Qt4_sources>
50
51When the environment is set up, go to the directory where you unpacked the
52Qt4 source tree and type:
53
54 configure.cmd
55
56This will set up the library (create necessary configuration and include files)
57and build the qmake utility.
58
59Then go to the src subdirectory and type:
60
61 qmake
62 make
63
64This will compile and link the library. Note that by default both the release
65and the debug version of the library are built (please be patient, it may take
66quite some time depending on your hardware). The release and debug libraries can
67co-exist in the same source tree and may be used in parallel: all the debug DLLs
68get a 'd' letter in their name preceeding the Qt major version number and use
69separate directories for object files.
70
71Once the library is successfully built, you may try to compile the demos