Ignore:
Timestamp:
Feb 18, 2010, 3:27:14 PM (15 years ago)
Author:
Dmitry A. Kuminov
Message:

configure.cmd: Added QT_NO_LPR (and made Qt sources additionally use it in a couple of places) since OS/2 doesn't support LPR-like printing for now.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/gui/painting/qpdf.cpp

    r574 r578  
    16931693            pr = printerName;
    16941694        int fds[2];
    1695 #ifdef Q_WS_PM
    1696         if (::pipe(fds) != 0) {
    1697 #else
    16981695        if (qt_safe_pipe(fds) != 0) {
    1699 #endif
    17001696            qWarning("QPdfPrinter: Could not open pipe to print");
    17011697            return false;
     
    17181714                ::_exit(0);
    17191715            }
    1720 #ifdef Q_WS_PM
    1721             ::dup2(fds[0], 0);
    1722 #else
    17231716            qt_safe_dup2(fds[0], 0, 0);
    1724 #endif
    17251717
    17261718            closeAllOpenFds();
     
    17991791        QT_CLOSE(fds[0]);
    18001792        fd = fds[1];
    1801 #ifdef Q_WS_PM
    1802         (void)::waitpid(pid, 0, 0);
    1803 #else
    18041793        (void)qt_safe_waitpid(pid, 0, 0);
    1805 #endif
     1794
    18061795        if (fd < 0)
    18071796            return false;
Note: See TracChangeset for help on using the changeset viewer.