source: trunk/README.OS2@ 940

Last change on this file since 940 was 894, checked in by Dmitry A. Kuminov, 14 years ago

README.OS2: Mention the required version of RC.EXE (see #220).

File size: 30.5 KB
Line 
1This is Qt version 4.6.3 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
14Please note that this version is binary incompatible with previous versions of
15Qt 4 for OS/2! This is not a behavior of the original Qt library (where versions
16with the same major number are usually binary compatible), but it is due to the
17fact that we continue to add missing features to the OS/2 version ot Qt and this
18cannot be done witout breaking the binary compatibility. On practice, this means
19that you need to recompile your applications with the new version of the Qt
20library in order to make them work with it.
21
22
23
24REQUIREMENTS
25
26In order to compile the Qt library and Qt-based applications, you will need
27the following tools:
28
29 - One of the OS/2 Warp 4, OS/2 Warp 4.5 or eComStation operating systems.
30
31 - GCC compiler version 4.4.2 for OS/2, patched OpenWatcom linker and
32 GNU Make 3.81beta1 or above. The GCC compiler must be set up to use the
33 OpenWatcom linker for linking.
34
35 If you do not have a working GCC environment with the above requirements, it
36 is recommended to download a ready-to-use GCC 4.2.2 distribution from here:
37
38 ftp://ftp.netlabs.org/pub/qt4/gcc-4_4_2-complete-20091205.zip
39
40 This distribution includes all tools necessary to compile and build the Qt
41 library from the source code. Just follow the installation instructions
42 contained in the README file inside this ZIP archive to set up the GCC
43 environment.
44
45 Please note that starting from Qt 4.6.2, support for GCC 3.3.5 and earlier
46 versions of the compiler has been dropped and the Qt library will most
47 likely not build if you use one of these compilers. Later versions prior to
48 GCC 4.4.2 may work but they are not tested and not supported.
49
50 - IBM RC (Resource Compiler) Version 5.00.007 (comes with OS/2 Toolkit 4.5)
51 or Version 4.00.011 (comes with eCS 2.0). Other versions may not work
52 correctly.
53
54There is also a set of optional tools which are necessary to enable the selected
55features of the Qt library. If these tools are missing, the Qt configuration
56script (discussed in section "COMPILING QT" below) will automatically disable
57the corresponding feature:
58
59 - LxLite 1.3.3 or above (not tested) to enable the compression of Qt DLLs and
60 application executables (which saves hard disk space and application startup
61 time). If you use a recent version of eComStation (e.g. 2.0 rc6) you will
62 already have LxLite installed. Otherwise, you may take it from here:
63
64 http://www.os2site.com/sw/util/archiver/lxlt133.zip
65
66 - CUPS 1.3.11 or later to support printing in Qt. The CUPS libraries are
67 available at:
68
69 http://download.smedley.info/cups-1.3.11-os2-20090807.zip
70
71 Linking against eCUPS also requires pthread.lib:
72
73 http://web.os2power.com/download/lib/pthread-20100217-os2.zip
74
75 - OpenSSL 0.9.8o or later to support OpenSSL in Qt. The OpenSSL libraries are
76 available at:
77
78 http://bauxite.sakura.ne.jp/tmp/os2/openssl-1.0.0a-os2knix-20100706-runtime.zip
79 http://bauxite.sakura.ne.jp/tmp/os2/openssl-1.0.0a-os2knix-20100706-dev.zip
80
81 - MySQL 5.1 or later for the MySQL Qt plugin. The MySQL libraries are
82 available at:
83
84 http://download.smedley.info/mysql-5.1.51-os2-20101001.zip
85
86 Note that you will also need the above OpenSSL libraries and pthread.lib to
87 be able to use this MySQL build. The MySQL Qt plugin itself will require
88 OpenSSL DLLs in your LIBPATH at runtime.
89
90 - PostgersSQL 9.0.1 or later to support the PostgresSQL Qt plugin. The
91 PostgresSQL libraries are available at:
92
93 http://download.smedley.info/postgresql-9.0.1-os2-20101108.zip
94
95 Note that you will also need libc064x.dll for this PostgresSQL build:
96
97 http://download.smedley.info/libc064x.zip
98
99 Note that you will also need the above OpenSSL libraries and pthread.lib to
100 be able to use this PostgresSQL build. The PostgresSQL Qt plugin itself will
101 require OpenSSL DLLs in your LIBPATH at runtime.
102
103
104
105SETTING UP THE ENVIRONMENT
106
107First of all, make sure that your GCC environment is set up and meets the
108specified requirements. To perform a quick check, you may run the following
109command:
110
111 gcc --version && make --version && wl /version
112
113If the setup is done properly, it will print the versions of the key tools
114to the console.
115
116The next step is to set up the Qt environment. If you installed the Qt