Changeset 396
- Timestamp:
- Dec 5, 2009, 6:38:38 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/gui/text/qfontsubset.cpp
r170 r396 52 52 #ifndef QT_NO_FREETYPE 53 53 #if defined(Q_WS_X11) || defined(Q_WS_QWS) 54 # include "private/qfontengine_ft_p.h"54 # include "private/qfontengine_ft_p.h" 55 55 #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 73 58 #endif 74 59
Note:
See TracChangeset
for help on using the changeset viewer.