[188] | 1 | This is Beta 2 of Qt version 4.5.1 for OS/2 and eCS.
|
---|
[144] | 2 |
|
---|
[188] | 3 | This document contains a brief information on the OS/2 version of the Qt library
|
---|
| 4 | plus a brief list of OS/2-specific changes from release to release (section
|
---|
| 5 | CHANGES below). Please visit the project page at
|
---|
[144] | 6 |
|
---|
| 7 | http://svn.netlabs.org/qt4/wiki
|
---|
| 8 |
|
---|
[188] | 9 | to get more information and the latest news and also to report bugs.
|
---|
[144] | 10 |
|
---|
| 11 |
|
---|
[188] | 12 |
|
---|
[144] | 13 | REQUIREMENTS
|
---|
| 14 |
|
---|
| 15 | In order to compile the Qt library, you will need the following tools:
|
---|
| 16 |
|
---|
| 17 | - One of the OS/2 Warp 4, OS/2 Warp 4.5 or eComStation operating systems.
|
---|
| 18 |
|
---|
| 19 | - InnoTek GCC compiler version 3.3.5 CSD3 or above (not tested).
|
---|
| 20 | You can download a copy of the compiler using the following link:
|
---|
| 21 |
|
---|
| 22 | ftp://ftp.netlabs.org/pub/gcc/GCC-3.3.5-csd3.zip
|
---|
| 23 |
|
---|
| 24 | - Patched OpenWatcom linker which you can download from:
|
---|
| 25 |
|
---|
[152] | 26 | ftp://ftp.netlabs.org/pub/gcc/wl-hll-r1.zip
|
---|
[144] | 27 |
|
---|
[152] | 28 | Note that if you use IBM ILINK (no matter what version), you will
|
---|
| 29 | not be able to build the debug version of the library due to
|
---|
| 30 | bugs/limitations of ILINK.
|
---|
[144] | 31 |
|
---|
[152] | 32 | - GNU Make 3.81beta1 or above (not tested) available at:
|
---|
[144] | 33 |
|
---|
[152] | 34 | http://unix.os2site.com/pub/binary/make/make-3_81beta1-bin-static.zip
|
---|
[144] | 35 |
|
---|
| 36 | After unpacking the GCC archive, you will have to set up the compiler
|
---|
| 37 | environment by invoking gccenv.cmd from the bin subdirectory with the
|
---|
| 38 | correct arguments (type gccenv.cmd -? for help). For the OpenWatcom
|
---|
| 39 | linker, specify WLINK as the second argument. You will also need to perform
|
---|
[152] | 40 | the following steps:
|
---|
[144] | 41 |
|
---|
| 42 | - Make sure the selected linker and the make utility are in PATH.
|
---|
| 43 |
|
---|
[152] | 44 | - Make sure CMD.EXE is your command line processor (the generated makefiles
|
---|
| 45 | will rely on its 'copy', 'if' and other commands).
|
---|
| 46 |
|
---|
[144] | 47 | - set LIBRARY_PATH=C:\OS2\DLL;C:\MPTN\DLL where C: is your boot drive.
|
---|
| 48 |
|
---|
[188] | 49 | Note that the QTDIR environment variable used by previous Qt versions is not
|
---|
| 50 | used by Qt4 anymore (except two rare cases that do not affect the OS/2 platform
|
---|
| 51 | anyway and are probably leftovers after the migration of the qmake feature
|
---|
| 52 | specifications to Qt4). Therefore, there is no need to set this variable
|
---|
| 53 | explicitly. See a note below about
|
---|
[144] | 54 |
|
---|
[188] | 55 | There is also no need to set the QMAKESPEC variable explicitly. If it is absent,
|
---|
| 56 | qmake will use the specification stored in the <Qt4_Home>/mkspecs/default
|
---|
| 57 | directory, which on OS/2 always refers to the "os2-g++" specification, the only
|
---|
| 58 | one supported at the present time.
|
---|
[144] | 59 |
|
---|
| 60 | When the environment is set up, go to the directory where you unpacked the
|
---|
| 61 | Qt4 source tree and type:
|
---|
| 62 |
|
---|
| 63 | configure.cmd
|
---|
| 64 |
|
---|
| 65 | This will set up the library (create necessary configuration and include files)
|
---|
| 66 | and build the qmake utility.
|
---|
| 67 |
|
---|
[188] | 68 | The next step is to go to the src subdirectory and type:
|
---|
[144] | 69 |
|
---|
| 70 | qmake
|
---|
[148] | 71 | make
|
---|
[144] | 72 |
|
---|
[148] | 73 | This will compile and link the library. Note that by default both the release
|
---|
| 74 | and the debug version of the library are built (please be patient, it may take
|
---|
| 75 | quite some time depending on your hardware). The release and debug libraries can
|
---|
| 76 | co-exist in the same source tree and may be used in parallel: all the debug DLLs
|
---|
| 77 | get a 'd' letter in their name preceeding the Qt major version number and use
|
---|
| 78 | separate directories for object files.
|
---|
[144] | 79 |
|
---|
[148] | 80 | Once the library is successfully built, you may try to compile the demos
|
---|
[188] | 81 | and examples by visiting the individual example subdirectories in the source
|
---|
[148] | 82 | tree and typing 'qmake' followed by one of 'make', 'make release' or
|
---|
| 83 | 'make debug' in that subdirectory.
|
---|
[144] | 84 |
|
---|
[188] | 85 | NOTE:
|
---|
[144] | 86 |
|
---|
[188] | 87 | Please keep in mind that due to dropping the QTDIR variable recognition,
|
---|
| 88 | qmake.exe now unconditionally uses hard-coded paths to locate various Qt4
|
---|
| 89 | components (such as the include or source directory) during the makefile
|
---|
| 90 | generation process and therefore if you move the Qt source tree to another
|
---|
| 91 | location you will need to run configure.cmd again in order to update these
|
---|
| 92 | hard-coded paths and rebuild qmake and other dependent parts of the library.
|
---|
| 93 |
|
---|
| 94 |
|
---|
| 95 |
|
---|
[144] | 96 | CURRENT LIMITATIONS
|
---|
| 97 |
|
---|
| 98 | 1. configure.cmd is not yet capable of generating the main Makefile and
|
---|
| 99 | individual Makefiles for modules and examples. This needs to be done by
|
---|
| 100 | hand (as described above).
|
---|
| 101 |
|
---|
[188] | 102 | 2. Beta 2 and earlier can only use one font at the moment,
|
---|
| 103 | C:\PSFONTS\HELV.PFB. Make sure this file exists.
|
---|
[144] | 104 |
|
---|
| 105 | 3. Make sure you have the LANG environment variable properly set.
|
---|
| 106 | The format is ll_CC[.codepage] where ll is the language code,
|
---|
| 107 | CC is the country code and codepage is the optional code page
|
---|
| 108 | to use. If LANG is missing or invalid, string conversion operations
|
---|
| 109 | may work incorrectly resulting in distorted text input or output.
|
---|
| 110 |
|
---|
| 111 | 4. Some functionality of the already available Qt classes may be limited or
|
---|
| 112 | unimplemented. If you find such a case and there is no ticket for it
|
---|
| 113 | in the bug tracker, feel free to add one.
|
---|
| 114 |
|
---|
[188] | 115 | 5. No qt3support module. This functionality is rarely necessary in mature
|
---|
| 116 | real life applications and has low priority.
|
---|
[144] | 117 |
|
---|
[145] | 118 | 6. No native PM style.
|
---|
[144] | 119 |
|
---|
[145] | 120 | 7. No QDesigner, QLinguist and QAssistant.
|
---|
| 121 |
|
---|
| 122 | 8. No Drag&Drop, no printer support, no sound. See the project roadmap for
|
---|
| 123 | more information on the progress and current limitations:
|
---|
| 124 |
|
---|
[144] | 125 | http://svn.netlabs.org/qt4/roadmap
|
---|
| 126 |
|
---|
| 127 |
|
---|
[188] | 128 |
|
---|
| 129 | CHANGES
|
---|
| 130 |
|
---|
| 131 | Beta 2 (17-09-2009)
|
---|
| 132 |
|
---|
| 133 | Improvements:
|
---|
| 134 |
|
---|
| 135 | - Ported the network module (QtNetwork4.dll) and added to the default build.
|
---|
| 136 |
|
---|
| 137 | - Added modules sql, svg, xmlpatterns, scripttools, plugins to the default
|
---|
| 138 | build.
|
---|
| 139 |
|
---|
| 140 | - gui: Added recognition of dead keys which makes it possible to type
|
---|
| 141 | umlauts and other accented characters that require composition.
|
---|
| 142 |
|
---|
| 143 | - gui: Implemented standard cursor shapes in Qt applications.
|
---|
| 144 |
|
---|
| 145 | Fixes:
|
---|
| 146 |
|
---|
| 147 | - qmake: Fixed the trailing slash problem which caused qmake to generate
|
---|
| 148 | incorrect makefiles and fail to build the Qt library on some platforms.
|
---|
| 149 |
|
---|
| 150 | - configure.cmd: Return to the root source tree directory after building
|
---|
| 151 | qmake.
|
---|
| 152 |
|
---|
| 153 | - qmake: Automatically use different link flags when linking qmake with WLINK.
|
---|
| 154 |
|
---|
| 155 | - qmake: Recognize TARGET_SHORT that allows to specify a short DLL name
|
---|
| 156 | (vital for OS/2 which reqires DLL names to be in 8x3 format).
|
---|
| 157 |
|
---|
| 158 | - build: Set short DLL names for Qt modules on OS/2 using TARGET_SHORT.
|
---|
| 159 |
|
---|
| 160 | - corelib: Various fixes to file system classes that deal with the file name
|
---|
| 161 | case (which should be ignored on OS/2) and forward and back slashes.
|
---|
| 162 |
|
---|
| 163 | - corelib: Fixed: QMutex could let more than one thread access the protected
|
---|
| 164 | resource.
|
---|
| 165 |
|
---|
| 166 | - corelib: Standard stream redirection in QProcess should now work for
|
---|
| 167 | kLIBC-based child processes. Redirection for all other applications
|
---|
| 168 | (such as CMD.EXE) will be added later (seems to be a kLIBC bug/feature).
|
---|
| 169 |
|
---|
| 170 | - gui: Fixed erroneous QFileDialog behavior (duplicate entires in the list,
|
---|
| 171 | incomplete contents of the root directory of the current drive).
|
---|
| 172 |
|
---|
| 173 | - gui: Fixed: Ctrl+A..Z should generate characters with codes 0x01-0x1F.
|
---|
| 174 |
|
---|
| 175 | - gui: Fixed: Close popups when resizing/moving the top level window.
|
---|
| 176 |
|
---|
| 177 | - gui: Enabled actual enforcing min/max Qt widget constraints for top-level windows.
|
---|
| 178 |
|
---|
| 179 | - gui: Fixed child widget duplication when resizing top level widgets after
|
---|
| 180 | showing a popup; moving native child widgets should now work correctly.
|
---|
| 181 | This also fixed a number of redraw problems (for example, drawing the main
|
---|
| 182 | menu and tool bars in smplayer, moving tool bars around in other
|
---|
| 183 | applications such as textedit from the demo folder).
|
---|
| 184 |
|
---|
| 185 | Beta 1 (29-08-2009)
|
---|
| 186 |
|
---|
| 187 | - First public release.
|
---|
| 188 |
|
---|
| 189 |
|
---|
| 190 |
|
---|
[144] | 191 | CREDITS
|
---|
| 192 |
|
---|
| 193 | Dmitry A. Kuminov (development)
|
---|
| 194 | Silvan Scherrer (management)
|
---|
| 195 |
|
---|
| 196 | netlabs.org (hosting & support)
|
---|
| 197 |
|
---|
| 198 | Nokia Corporation (original Qt library)
|
---|
| 199 |
|
---|
| 200 | We also want to THANK all individuals and organizations who made the donations
|
---|
| 201 | to this project and helped to make it happen. Please visit
|
---|
| 202 |
|
---|
| 203 | http://qt.netlabs.org/en/site/index.xml
|
---|
| 204 |
|
---|
| 205 | to get the full list of sponsors and to find information on how you can support
|
---|
| 206 | the project.
|
---|
| 207 |
|
---|
| 208 |
|
---|
| 209 | Qt is a trademark of Nokia Corporation and/or its subsidiary(-ies).
|
---|
| 210 | OS/2 and OS/2 Warp are trademarks of the IBM Corporation and/or its subsidiary(-ies).
|
---|
| 211 | eComStation is a trademark of Serenity Systems International and/or its subsidiary(-ies).
|
---|
| 212 | Etc.
|
---|