Changeset 396


Ignore:
Timestamp:
Dec 5, 2009, 6:38:38 PM (15 years ago)
Author:
Dmitry A. Kuminov
Message:

gui/text: Reverted r170 because of a better workaround in r395.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/gui/text/qfontsubset.cpp

    r170 r396  
    5252#ifndef QT_NO_FREETYPE
    5353#if defined(Q_WS_X11) || defined(Q_WS_QWS)
    54 #   include "private/qfontengine_ft_p.h"
     54#   include "private/qfontengine_ft_p.h"
    5555#endif
    56 #if defined(Q_OS_OS2) && defined(__GNUC__)
    57 #   ifndef QT_NO_PRINTER
    58         // GCC for OS/2 version 3.3.5 CSD3 doesn't like the style of the
    59         // comments in the ../3rdparty/freetype/include/freetype/freetype.h file
    60         // (included by the FT_FREETYPE_H argument below). This sed command
    61         //   sed -e "/^ *\/\*.*\*\/ *$/ d" freetype.h >freetype.new
    62         // proves it: freetype.new stops showing the mystic "Invalid argument"
    63         // compiler error generated for the original. Looks like a compiler bug.
    64         // We don't fix the original this way though because it's possible that
    65         // we change the compiler to a higher version lacking this bug by the
    66         // time we want to remove QT_NO_PRINTER from the configuration.
    67 #       error "Please check the comment above this line!"
    68 #   endif
    69 #else
    70 #   include <ft2build.h>
    71 #   include FT_FREETYPE_H
    72 #endif
     56#include <ft2build.h>
     57#include FT_FREETYPE_H
    7358#endif
    7459
Note: See TracChangeset for help on using the changeset viewer.