| 1 | This is Beta 1 of Qt version 4.5.1 for OS/2 and eCS. | 
|---|
| 2 |  | 
|---|
| 3 | This document contains a brief information on the OS/2 | 
|---|
| 4 | version of the Qt library. Please visit the project page at | 
|---|
| 5 |  | 
|---|
| 6 | http://svn.netlabs.org/qt4/wiki | 
|---|
| 7 |  | 
|---|
| 8 | to get more information and the latest news and to report bugs. | 
|---|
| 9 |  | 
|---|
| 10 |  | 
|---|
| 11 | REQUIREMENTS | 
|---|
| 12 |  | 
|---|
| 13 | In 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 |  | 
|---|
| 34 | After unpacking the GCC archive, you will have to set up the compiler | 
|---|
| 35 | environment by invoking gccenv.cmd from the bin subdirectory with the | 
|---|
| 36 | correct arguments (type gccenv.cmd -? for help). For the OpenWatcom | 
|---|
| 37 | linker, specify WLINK as the second argument. You will also need to perform | 
|---|
| 38 | the 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 |  | 
|---|
| 51 | When the environment is set up, go to the directory where you unpacked the | 
|---|
| 52 | Qt4 source tree and type: | 
|---|
| 53 |  | 
|---|
| 54 | configure.cmd | 
|---|
| 55 |  | 
|---|
| 56 | This will set up the library (create necessary configuration and include files) | 
|---|
| 57 | and build the qmake utility. | 
|---|
| 58 |  | 
|---|
| 59 | Then go to the src subdirectory and type: | 
|---|
| 60 |  | 
|---|
| 61 | qmake | 
|---|
| 62 | make | 
|---|
| 63 |  | 
|---|
| 64 | This will compile and link the library. Note that by default both the release | 
|---|
| 65 | and the debug version of the library are built (please be patient, it may take | 
|---|
| 66 | quite some time depending on your hardware). The release and debug libraries can | 
|---|
| 67 | co-exist in the same source tree and may be used in parallel: all the debug DLLs | 
|---|
| 68 | get a 'd' letter in their name preceeding the Qt major version number and use | 
|---|
| 69 | separate directories for object files. | 
|---|
| 70 |  | 
|---|
| 71 | Once the library is successfully built, you may try to compile the demos | 
|---|
| 72 | and examples by visiting the individual example's subdirectory in the source | 
|---|
| 73 | tree and typing 'qmake' followed by one of 'make', 'make release' or | 
|---|
| 74 | 'make debug' in that subdirectory. | 
|---|
| 75 |  | 
|---|
| 76 |  | 
|---|
| 77 | CURRENT LIMITATIONS | 
|---|
| 78 |  | 
|---|
| 79 | 1. configure.cmd is not yet capable of generating the main Makefile and | 
|---|
| 80 | individual Makefiles for modules and examples. This needs to be done by | 
|---|
| 81 | hand (as described above). | 
|---|
| 82 |  | 
|---|
| 83 | 2. Beta 1 can only use one font at the moment, C:\PSFONTS\HELV.PFB. | 
|---|
| 84 | Make sure this file exists. | 
|---|
| 85 |  | 
|---|
| 86 | 3. Make sure you have the LANG environment variable properly set. | 
|---|
| 87 | The format is ll_CC[.codepage] where ll is the language code, | 
|---|
| 88 | CC is the country code and codepage is the optional code page | 
|---|
| 89 | to use. If LANG is missing or invalid, string conversion operations | 
|---|
| 90 | may work incorrectly resulting in distorted text input or output. | 
|---|
| 91 |  | 
|---|
| 92 | 4. Some functionality of the already available Qt classes may be limited or | 
|---|
| 93 | unimplemented. If you find such a case and there is no ticket for it | 
|---|
| 94 | in the bug tracker, feel free to add one. | 
|---|
| 95 |  | 
|---|
| 96 | 5. There is no Network module yet, so networking applications will | 
|---|
| 97 | not compile. | 
|---|
| 98 |  | 
|---|
| 99 | 6. No native PM style. | 
|---|
| 100 |  | 
|---|
| 101 | 7. No QDesigner, QLinguist and QAssistant. | 
|---|
| 102 |  | 
|---|
| 103 | 8. No Drag&Drop, no printer support, no sound. See the project roadmap for | 
|---|
| 104 | more information on the progress and current limitations: | 
|---|
| 105 |  | 
|---|
| 106 | http://svn.netlabs.org/qt4/roadmap | 
|---|
| 107 |  | 
|---|
| 108 |  | 
|---|
| 109 | CREDITS | 
|---|
| 110 |  | 
|---|
| 111 | Dmitry A. Kuminov (development) | 
|---|
| 112 | Silvan Scherrer (management) | 
|---|
| 113 |  | 
|---|
| 114 | netlabs.org (hosting & support) | 
|---|
| 115 |  | 
|---|
| 116 | Nokia Corporation (original Qt library) | 
|---|
| 117 |  | 
|---|
| 118 | We also want to THANK all individuals and organizations who made the donations | 
|---|
| 119 | to this project and helped to make it happen. Please visit | 
|---|
| 120 |  | 
|---|
| 121 | http://qt.netlabs.org/en/site/index.xml | 
|---|
| 122 |  | 
|---|
| 123 | to get the full list of sponsors and to find information on how you can support | 
|---|
| 124 | the project. | 
|---|
| 125 |  | 
|---|
| 126 |  | 
|---|
| 127 |  | 
|---|
| 128 | Qt is a trademark of Nokia Corporation and/or its subsidiary(-ies). | 
|---|
| 129 | OS/2 and OS/2 Warp are trademarks of the IBM Corporation and/or its subsidiary(-ies). | 
|---|
| 130 | eComStation is a trademark of Serenity Systems International and/or its subsidiary(-ies). | 
|---|
| 131 | Etc. | 
|---|