Changeset 524 for trunk/README.OS2


Ignore:
Timestamp:
Feb 4, 2010, 8:58:37 PM (15 years ago)
Author:
Dmitry A. Kuminov
Message:

README for GA.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/README.OS2

    r429 r524  
    22
    33This document contains a brief information on the OS/2 version of the Qt
    4 library. Please visit the project page at
     4library. Please read it carefully before starting your work. You may also
     5visit the project page at
    56
    67  http://svn.netlabs.org/qt4/wiki
     
    2021  - One of the OS/2 Warp 4, OS/2 Warp 4.5 or eComStation operating systems.
    2122
    22   - InnoTek GCC compiler version 3.3.5 CSD3 or above (not tested).
    23     You can download a copy of the compiler using the following link:
     23  - InnoTek GCC compiler version 3.3.5 CSD3 or 4.4.2 (recommended).
     24    You can download the GCC 4.4.2 compiler using the following link:
     25
     26      http://download.smedley.info/gcc-4.4.2-os2-20091205.zip
     27
     28    GCC 4.4.2 requires newer binutils available at:
     29
     30      http://download.smedley.info/binutils-2.19.1-os2-20090427.zip
     31
     32    Note that in order to use the above version of GCC, you will also need
     33    to install the previous 3.x version (e.g. 3.3.5 CSD3) available at:
    2434
    2535      ftp://ftp.netlabs.org/pub/gcc/GCC-3.3.5-csd3.zip
     
    4959
    5060After unpacking the GCC archive, you will have to set up the compiler
    51 environment by invoking gccenv.cmd from the bin subdirectory with the correct
     61environment by invoking gccenv.cmd from the subdirectory with the correct
    5262arguments (type gccenv.cmd -? for help). For the OpenWatcom linker, specify
    5363WLINK as the second argument.
     64
     65
     66
     67
    5468
    5569You will also need to perform the following steps:
     
    6377    by doing 'set MAKESHELL=C:\OS2\CMD.EXE' where C: is your boot drive.
    6478
    65   - set LIBRARY_PATH=C:\OS2\DLL;C:\MPTN\DLL where C: is your boot drive.
     79  - set LIBRARY_PATH=C:\OS2\DLL;C:\MPTN\DLL where C: is your boot drive.
    6680
    6781  - Make sure that there are no traces of any other Watcom or OpenWatcom
     
    7084    removing all *WATCOM* environment variables and removing references to those
    7185    Watcom installations from PATH.
     86
     87
     88
     89
     90
     91
    7292
    7393Note that the QTDIR environment variable used by previous Qt versions is not
     
    191211
    192212Using the "dev" package requires the same environment as the one necessary for
    193 building Qt and described in section SETTING UP THE ENVIRONMET above. The
    194 process of compiling Qt applications using the "dev" package is basically the
    195 same as with the hand made-build of Qt. Note, however, that if you are
     213building Qt and described in section SETTING UP THE ENVIRONMET above with the
     214exception that the "bin" subdirectory of the directory where you installed the
     215"dev" package needs to be added to PATH instead of the "bin" subdirectory of
     216the Qt4 source tree.
     217
     218The process of compiling Qt applications using the "dev" package is basically
     219the same as with the hand made-build of Qt. Note, however, that if you are
    196220developing or porting a Qt application, it is still recommended that you build
    197221the debug version of the Qt library yourself and use it in your daily work since
     
    206230  qt-examples-src-X_Y_Z.wpi  - Demo and example sources ("examples")
    207231
    208 In order to build the demo and example applications, go to the directory where
    209 you installed the respective package (e.g. D:\Coding\Qt4\demos) and type:
     232The "examples" package contains the source code for all demo and example
     233applications shipped with Qt. They serve as a good demonstration of the Qt
     234library features and it is recommended to build them if you plan to write your
     235own applications. In order to build them, go to the directory where you
     236installed the respective package (e.g. D:\Coding\Qt4\examples) and type:
    210237
    211238  qmake
     
    261288CURRENT LIMITATIONS
    262289
    263   1. configure.cmd is not yet capable to generate individual Makefiles for demos
    264      and examples, it only generates the main Makefile that builds the library
    265      and the necessary tools. Demos and examples can be compiled by hand
    266      (as described above).
    267 
    268   2. OS/2 bitmap fonts are not yet supported. Use TTF or Type1 (PFB) fonts with
     290  1. configure.cmd is not yet capable of generating individual Makefiles for
     291     demos and examples, it only generates the main Makefile that builds the
     292     library and the necessary tools. Demos and examples can be compiled by
     293     hand (as described above).
     294
     295  2. configure.cmd does not understand any command line options. If you want
     296     to customize the build of the Qt library (which is not recommended), you
     297     may try to modify configure.cmd itself.
     298
     299  3. OS/2 bitmap fonts are not yet supported. Use TTF or Type1 (PFB) fonts with
    269300     Qt.
    270301
    271   3. In order to let Qt correctly detect the regional settings and choose the
     302  . In order to let Qt correctly detect the regional settings and choose the
    272303     right language for translating the user interface, the LANG environment
    273304     variable must be set. The format is
     
    281312     detects the encoding automatically based on the system OS/2 settings.
    282313
    283      Later, the correct language will be detected from the system settings and
    284      specifying LANG will be not necessary at all.
    285 
    286   4. Some functionality of the already available Qt classes may be limited or
    287      unimplemented. If you find such a case and there is no ticket for it
    288      in the bug tracker, feel free to add one.
     314     Later, the correct language will be detected from the system settings so
     315     that specifying LANG will be not necessary at all.
    289316
    290317  5. No qt3support module. This functionality is rarely necessary in mature
     
    299326       http://users.socis.ca/~ataylo00/creative/fonts/workplace/
    300327
    301   7. QProcess: when starting PM applications from text-mode applications and
    302      when detaching applications with startDetached(), the returned PID is a
    303      PID of the intermediate cmd.exe process, not the target application.
    304 
    305   8. No QDesigner, no QAssistant.
    306 
    307   9. No Drag&Drop, no printer support. See the project roadmap for more
    308      information on the current progress and future plans:
    309 
    310        http://svn.netlabs.org/qt4/roadmap
     328  7. QProcess: when starting PM applications from text-mode applications, the
     329     returned PID is a PID of the intermediate cmd.exe process, not the target
     330     application.
     331
     332  8. The followign classes are not available due to their rare usage or low
     333     importance on the OS/2 platform: QSharedMemory, QSystemSemaphore,
     334     QInputContext, QAccessible. The following macros are defined to indicate
     335     this: QT_NO_SYSTEMSEMAPHORE, QT_NO_SHAREDMEMORY,
     336     QT_NO_IM, QT_NO_ACCESSIBILITY. Applications normally use them to guard the
     337     relevant parts of code so they should still build.
     338
     339  9. No QAssistant, no printer support (QT_NO_PRINTER and QT_NO_PRINTDIALOG are
     340     defined). No IPV6 support in the network module (QT_NO_IPV6 is defined).
     341
     342  See the project roadmap for more information on the current progress and
     343  future plans:
     344
     345    http://svn.netlabs.org/qt4/roadmap
     346
     347  Feel free to request new features and report bugs using the project bug
     348  tracker abaialble at:
     349
     350    http://svn.netlabs.org/qt4/report
    311351
    312352
Note: See TracChangeset for help on using the changeset viewer.