| 1 | # Qt kernel module | 
|---|
| 2 |  | 
|---|
| 3 | HEADERS += \ | 
|---|
| 4 | text/qfont.h \ | 
|---|
| 5 | text/qfontdatabase.h \ | 
|---|
| 6 | text/qfontengine_p.h \ | 
|---|
| 7 | text/qfontengineglyphcache_p.h \ | 
|---|
| 8 | text/qfontinfo.h \ | 
|---|
| 9 | text/qfontmetrics.h \ | 
|---|
| 10 | text/qfont_p.h \ | 
|---|
| 11 | text/qfontsubset_p.h \ | 
|---|
| 12 | text/qtextcontrol_p.h \ | 
|---|
| 13 | text/qtextcontrol_p_p.h \ | 
|---|
| 14 | text/qtextengine_p.h \ | 
|---|
| 15 | text/qtextlayout.h \ | 
|---|
| 16 | text/qtextformat.h \ | 
|---|
| 17 | text/qtextformat_p.h \ | 
|---|
| 18 | text/qtextobject.h \ | 
|---|
| 19 | text/qtextobject_p.h \ | 
|---|
| 20 | text/qtextoption.h \ | 
|---|
| 21 | text/qfragmentmap_p.h \ | 
|---|
| 22 | text/qtextdocument.h \ | 
|---|
| 23 | text/qtextdocument_p.h \ | 
|---|
| 24 | text/qtexthtmlparser_p.h \ | 
|---|
| 25 | text/qabstracttextdocumentlayout.h \ | 
|---|
| 26 | text/qtextdocumentlayout_p.h \ | 
|---|
| 27 | text/qtextcursor.h \ | 
|---|
| 28 | text/qtextcursor_p.h \ | 
|---|
| 29 | text/qtextdocumentfragment.h \ | 
|---|
| 30 | text/qtextdocumentfragment_p.h \ | 
|---|
| 31 | text/qtextimagehandler_p.h \ | 
|---|
| 32 | text/qtexttable.h \ | 
|---|
| 33 | text/qtextlist.h \ | 
|---|
| 34 | text/qsyntaxhighlighter.h \ | 
|---|
| 35 | text/qtextdocumentwriter.h \ | 
|---|
| 36 | text/qcssparser_p.h \ | 
|---|
| 37 | text/qtexttable_p.h \ | 
|---|
| 38 | text/qzipreader_p.h \ | 
|---|
| 39 | text/qzipwriter_p.h \ | 
|---|
| 40 | text/qtextodfwriter_p.h | 
|---|
| 41 |  | 
|---|
| 42 | SOURCES += \ | 
|---|
| 43 | text/qfont.cpp \ | 
|---|
| 44 | text/qfontengine.cpp \ | 
|---|
| 45 | text/qfontsubset.cpp \ | 
|---|
| 46 | text/qfontmetrics.cpp \ | 
|---|
| 47 | text/qfontdatabase.cpp \ | 
|---|
| 48 | text/qtextcontrol.cpp \ | 
|---|
| 49 | text/qtextengine.cpp \ | 
|---|
| 50 | text/qtextlayout.cpp \ | 
|---|
| 51 | text/qtextformat.cpp \ | 
|---|
| 52 | text/qtextobject.cpp \ | 
|---|
| 53 | text/qtextoption.cpp \ | 
|---|
| 54 | text/qfragmentmap.cpp \ | 
|---|
| 55 | text/qtextdocument.cpp \ | 
|---|
| 56 | text/qtextdocument_p.cpp \ | 
|---|
| 57 | text/qtexthtmlparser.cpp \ | 
|---|
| 58 | text/qabstracttextdocumentlayout.cpp \ | 
|---|
| 59 | text/qtextdocumentlayout.cpp \ | 
|---|
| 60 | text/qtextcursor.cpp \ | 
|---|
| 61 | text/qtextdocumentfragment.cpp \ | 
|---|
| 62 | text/qtextimagehandler.cpp \ | 
|---|
| 63 | text/qtexttable.cpp \ | 
|---|
| 64 | text/qtextlist.cpp \ | 
|---|
| 65 | text/qtextdocumentwriter.cpp \ | 
|---|
| 66 | text/qsyntaxhighlighter.cpp \ | 
|---|
| 67 | text/qcssparser.cpp \ | 
|---|
| 68 | text/qzip.cpp \ | 
|---|
| 69 | text/qtextodfwriter.cpp | 
|---|
| 70 |  | 
|---|
| 71 | win32 { | 
|---|
| 72 | SOURCES += \ | 
|---|
| 73 | text/qfont_win.cpp \ | 
|---|
| 74 | text/qfontengine_win.cpp | 
|---|
| 75 | HEADERS += text/qfontengine_win_p.h | 
|---|
| 76 | } | 
|---|
| 77 |  | 
|---|
| 78 | unix:x11 { | 
|---|
| 79 | HEADERS += \ | 
|---|
| 80 | text/qfontengine_x11_p.h \ | 
|---|
| 81 | text/qfontengine_ft_p.h | 
|---|
| 82 | SOURCES += \ | 
|---|
| 83 | text/qfont_x11.cpp \ | 
|---|
| 84 | text/qfontengine_x11.cpp \ | 
|---|
| 85 | text/qfontengine_ft.cpp | 
|---|
| 86 | } | 
|---|
| 87 |  | 
|---|
| 88 | !embedded:!x11:mac { | 
|---|
| 89 | SOURCES += \ | 
|---|
| 90 | text/qfont_mac.cpp | 
|---|
| 91 | OBJECTIVE_SOURCES += text/qfontengine_mac.mm | 
|---|
| 92 | } | 
|---|
| 93 |  | 
|---|
| 94 | embedded { | 
|---|
| 95 | SOURCES += \ | 
|---|
| 96 | text/qfont_qws.cpp \ | 
|---|
| 97 | text/qfontengine_qws.cpp \ | 
|---|
| 98 | text/qfontengine_ft.cpp \ | 
|---|
| 99 | text/qfontengine_qpf.cpp \ | 
|---|
| 100 | text/qabstractfontengine_qws.cpp | 
|---|
| 101 | HEADERS += \ | 
|---|
| 102 | text/qfontengine_ft_p.h \ | 
|---|
| 103 | text/qfontengine_qpf_p.h \ | 
|---|
| 104 | text/qabstractfontengine_qws.h \ | 
|---|
| 105 | text/qabstractfontengine_p.h | 
|---|
| 106 | DEFINES += QT_NO_FONTCONFIG | 
|---|
| 107 | } | 
|---|
| 108 |  | 
|---|
| 109 | contains(QT_CONFIG, freetype) { | 
|---|
| 110 | SOURCES += \ | 
|---|
| 111 | ../3rdparty/freetype/builds/unix/ftsystem.c \ | 
|---|
| 112 | ../3rdparty/freetype/src/base/ftbase.c \ | 
|---|
| 113 | ../3rdparty/freetype/src/base/ftbbox.c \ | 
|---|
| 114 | ../3rdparty/freetype/src/base/ftdebug.c \ | 
|---|
| 115 | ../3rdparty/freetype/src/base/ftglyph.c \ | 
|---|
| 116 | ../3rdparty/freetype/src/base/ftinit.c \ | 
|---|
| 117 | ../3rdparty/freetype/src/base/ftmm.c \ | 
|---|
| 118 | ../3rdparty/freetype/src/base/fttype1.c \ | 
|---|
| 119 | ../3rdparty/freetype/src/base/ftbitmap.c\ | 
|---|
| 120 | ../3rdparty/freetype/src/bdf/bdf.c \ | 
|---|
| 121 | ../3rdparty/freetype/src/cache/ftcache.c \ | 
|---|
| 122 | ../3rdparty/freetype/src/cff/cff.c \ | 
|---|
| 123 | ../3rdparty/freetype/src/cid/type1cid.c \ | 
|---|
| 124 | ../3rdparty/freetype/src/gzip/ftgzip.c \ | 
|---|
| 125 | ../3rdparty/freetype/src/pcf/pcf.c \ | 
|---|
| 126 | ../3rdparty/freetype/src/pfr/pfr.c \ | 
|---|
| 127 | ../3rdparty/freetype/src/psaux/psaux.c \ | 
|---|
| 128 | ../3rdparty/freetype/src/pshinter/pshinter.c \ | 
|---|
| 129 | ../3rdparty/freetype/src/psnames/psmodule.c \ | 
|---|
| 130 | ../3rdparty/freetype/src/raster/raster.c \ | 
|---|
| 131 | ../3rdparty/freetype/src/sfnt/sfnt.c \ | 
|---|
| 132 | ../3rdparty/freetype/src/smooth/smooth.c \ | 
|---|
| 133 | ../3rdparty/freetype/src/truetype/truetype.c \ | 
|---|
| 134 | ../3rdparty/freetype/src/type1/type1.c \ | 
|---|
| 135 | ../3rdparty/freetype/src/type42/type42.c \ | 
|---|
| 136 | ../3rdparty/freetype/src/winfonts/winfnt.c \ | 
|---|
| 137 | ../3rdparty/freetype/src/lzw/ftlzw.c\ | 
|---|
| 138 | ../3rdparty/freetype/src/otvalid/otvalid.c\ | 
|---|
| 139 | ../3rdparty/freetype/src/otvalid/otvbase.c\ | 
|---|
| 140 | ../3rdparty/freetype/src/otvalid/otvgdef.c\ | 
|---|
| 141 | ../3rdparty/freetype/src/otvalid/otvjstf.c\ | 
|---|
| 142 | ../3rdparty/freetype/src/otvalid/otvcommn.c\ | 
|---|
| 143 | ../3rdparty/freetype/src/otvalid/otvgpos.c\ | 
|---|
| 144 | ../3rdparty/freetype/src/otvalid/otvgsub.c\ | 
|---|
| 145 | ../3rdparty/freetype/src/otvalid/otvmod.c\ | 
|---|
| 146 | ../3rdparty/freetype/src/autofit/afangles.c\ | 
|---|
| 147 | ../3rdparty/freetype/src/autofit/afglobal.c\ | 
|---|
| 148 | ../3rdparty/freetype/src/autofit/aflatin.c\ | 
|---|
| 149 | ../3rdparty/freetype/src/autofit/afmodule.c\ | 
|---|
| 150 | ../3rdparty/freetype/src/autofit/afdummy.c\ | 
|---|
| 151 | ../3rdparty/freetype/src/autofit/afhints.c\ | 
|---|
| 152 | ../3rdparty/freetype/src/autofit/afloader.c\ | 
|---|
| 153 | ../3rdparty/freetype/src/autofit/autofit.c | 
|---|
| 154 |  | 
|---|
| 155 | INCLUDEPATH += \ | 
|---|
| 156 | ../3rdparty/freetype/src \ | 
|---|
| 157 | ../3rdparty/freetype/include \ | 
|---|
| 158 | ../3rdparty/freetype/builds/unix | 
|---|
| 159 |  | 
|---|
| 160 | DEFINES += FT2_BUILD_LIBRARY FT_CONFIG_OPTION_SYSTEM_ZLIB | 
|---|
| 161 |  | 
|---|
| 162 | embedded:CONFIG += opentype | 
|---|
| 163 | } else:contains(QT_CONFIG, system-freetype) { | 
|---|
| 164 | embedded:CONFIG += opentype | 
|---|
| 165 | # pull in the proper freetype2 include directory | 
|---|
| 166 | include($$QT_SOURCE_TREE/config.tests/unix/freetype/freetype.pri) | 
|---|
| 167 | LIBS += -lfreetype | 
|---|
| 168 | } else { | 
|---|
| 169 | DEFINES *= QT_NO_FREETYPE | 
|---|
| 170 | } | 
|---|
| 171 |  | 
|---|
| 172 | contains(QT_CONFIG, fontconfig) { | 
|---|
| 173 | CONFIG += opentype | 
|---|
| 174 | } | 
|---|
| 175 |  | 
|---|
| 176 | DEFINES += QT_NO_OPENTYPE | 
|---|
| 177 | INCLUDEPATH += ../3rdparty/harfbuzz/src | 
|---|