Changeset 576 for trunk/README.OS2


Ignore:
Timestamp:
Feb 18, 2010, 1:39:37 AM (15 years ago)
Author:
Dmitry A. Kuminov
Message:

configure.cmd: Enabled printing by default.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/README.OS2

    r542 r576  
    4646
    4747      http://unix.os2site.com/pub/binary/make/make-3_81beta1-bin-static.zip
     48
     49  - eCUPS 1.3.11 or later to support printing in Qt. The eCUPS WPI is available
     50    at:
     51
     52      ftp://ftp.netlabs.org/incoming/eCUPS003.wpi   or
     53      ftp://ftp.netlabs.org/pub/ecups/eCUPS003.wpi
     54
     55    Linking against eCUPS also requires pthread.lib:
     56
     57      http://web.os2power.com/download/lib/pthread-20100217-os2.zip
    4858
    4959  - LxLite 1.3.3 or above (not tested) if you want Qt DLLs and application
     
    90100      set PATH=D:\Coding\Qt4\bin;%PATH%
    91101      set BEGINLIBPATH=D:\Coding\Qt4\bin;%BEGINLIBPATH%
     102
     103  - Install the eCUPS WPI archive to enable printing support. If this WPI is
     104    installed, the Qt build system will pick up all necessary libraries
     105    automatically. Otherwise, you will need to use the following environment
     106    variables to tell it where to look for CUPS:
     107
     108      set CUPS_INCLUDEPATH=X:\Path\to\CUPS\include
     109      set CUPS_LIBS=X:\Path\to\CUPS\lib\libcups.a
     110
     111    Note that if the eCUPS WPI is not installed and these variables are not set,
     112    printing support will be completely disabled in the resulting Qt build.
     113
     114    You will also need to make sure that pthread.lib is placed somewhere in your
     115    system library path so that the compiler can find it.
    92116
    93117Note that the QTDIR environment variable used by previous Qt versions is not
     
    317341
    318342
     343PRINTING SUPPORT
     344
     345Starting with version 4.6.1, Qt for OS/2 supports printing through the CUPS
     346framework (provided that this support is enabled when building Qt, see the
     347respective sections in the beginning of this document). The OS/2 implementation
     348of the CUPS framework is provided by the eCUPS package available at
     349http://svn.netlabs.org/ecups/.
     350
     351The Qt Runtime detects the presence of eCUPS in the system on the fly and talks
     352to the CUPS daemon directly, bypassing the standard OS/2 printing subsystem.
     353This means that in order to print from Qt applications, you don't need to create
     354and configure printer objects using the standard OS/2 system printer setup
     355procedure -- you only need to install eCUPS and configure your printers in
     356there. Please refer to the eCUPS user manual to obtain the detailed instructions
     357on how to configure CUPS printers.
     358
     359
     360
    319361CURRENT LIMITATIONS
    320362
     
    368410     relevant parts of code so they should still build.
    369411
    370   9. No QAssistant, no printer support (QT_NO_PRINTER and QT_NO_PRINTDIALOG are
    371      defined). No IPV6 support in the network module (QT_NO_IPV6 is defined).
     412  9. No QAssistant. No IPV6 support in the network module (QT_NO_IPV6 is
     413     defined).
    372414
    373415  See the project roadmap for more information on the current progress and
Note: See TracChangeset for help on using the changeset viewer.