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