| 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 | os2 { | 
|---|
| 79 | HEADERS += \ | 
|---|
| 80 | text/qfontengine_pm_p.h \ | 
|---|
| 81 | text/qfontengine_ft_p.h | 
|---|
| 82 | SOURCES += \ | 
|---|
| 83 | text/qfont_pm.cpp \ | 
|---|
| 84 | text/qfontengine_pm.cpp \ | 
|---|
| 85 | text/qfontengine_ft.cpp | 
|---|
| 86 | } | 
|---|
| 87 |  | 
|---|
| 88 | unix:x11 { | 
|---|
| 89 | HEADERS += \ | 
|---|
| 90 | text/qfontengine_x11_p.h \ | 
|---|
| 91 | text/qfontdatabase_x11.cpp \ | 
|---|
| 92 | text/qfontengine_ft_p.h | 
|---|
| 93 | SOURCES += \ | 
|---|
| 94 | text/qfont_x11.cpp \ | 
|---|
| 95 | text/qfontengine_x11.cpp \ | 
|---|
| 96 | text/qfontengine_ft.cpp | 
|---|
| 97 | } | 
|---|
| 98 |  | 
|---|
| 99 | !embedded:!x11:mac { | 
|---|
| 100 | SOURCES += \ | 
|---|
| 101 | text/qfont_mac.cpp | 
|---|
| 102 | OBJECTIVE_SOURCES += text/qfontengine_mac.mm | 
|---|
| 103 | } | 
|---|
| 104 |  | 
|---|
| 105 | embedded { | 
|---|
| 106 | SOURCES += \ | 
|---|
| 107 | text/qfont_qws.cpp \ | 
|---|
| 108 | text/qfontengine_qws.cpp \ | 
|---|
| 109 | text/qfontengine_ft.cpp \ | 
|---|
| 110 | text/qfontengine_qpf.cpp \ | 
|---|
| 111 | text/qabstractfontengine_qws.cpp | 
|---|
| 112 | HEADERS += \ | 
|---|
| 113 | text/qfontengine_ft_p.h \ | 
|---|
| 114 | text/qfontengine_qpf_p.h \ | 
|---|
| 115 | text/qabstractfontengine_qws.h \ | 
|---|
| 116 | text/qabstractfontengine_p.h | 
|---|
| 117 | DEFINES += QT_NO_FONTCONFIG | 
|---|
| 118 | } | 
|---|
| 119 |  | 
|---|
| 120 | symbian { | 
|---|
| 121 | SOURCES += \ | 
|---|
| 122 | text/qfont_s60.cpp | 
|---|
| 123 | contains(QT_CONFIG, freetype) { | 
|---|
| 124 | SOURCES += \ | 
|---|
| 125 | text/qfontengine_ft.cpp | 
|---|
| 126 | HEADERS += \ | 
|---|
| 127 | text/qfontengine_ft_p.h | 
|---|
| 128 | DEFINES += \ | 
|---|
| 129 | QT_NO_FONTCONFIG | 
|---|
| 130 | } else { | 
|---|
| 131 | SOURCES += \ | 
|---|
| 132 | text/qfontengine_s60.cpp | 
|---|
| 133 | HEADERS += \ | 
|---|
| 134 | text/qfontengine_s60_p.h | 
|---|
| 135 | LIBS += -lfntstr -lecom | 
|---|
| 136 | } | 
|---|
| 137 | } | 
|---|
| 138 |  | 
|---|
| 139 | contains(QT_CONFIG, freetype) { | 
|---|
| 140 | SOURCES += \ | 
|---|
| 141 | ../3rdparty/freetype/src/base/ftbase.c \ | 
|---|
| 142 | ../3rdparty/freetype/src/base/ftbbox.c \ | 
|---|
| 143 | ../3rdparty/freetype/src/base/ftdebug.c \ | 
|---|
| 144 | ../3rdparty/freetype/src/base/ftglyph.c \ | 
|---|
| 145 | ../3rdparty/freetype/src/base/ftinit.c \ | 
|---|
| 146 | ../3rdparty/freetype/src/base/ftmm.c \ | 
|---|
| 147 | ../3rdparty/freetype/src/base/fttype1.c \ | 
|---|
| 148 | ../3rdparty/freetype/src/base/ftbitmap.c\ | 
|---|
| 149 | ../3rdparty/freetype/src/bdf/bdf.c \ | 
|---|
| 150 | ../3rdparty/freetype/src/cache/ftcache.c \ | 
|---|
| 151 | ../3rdparty/freetype/src/cff/cff.c \ | 
|---|
| 152 | ../3rdparty/freetype/src/cid/type1cid.c \ | 
|---|
| 153 | ../3rdparty/freetype/src/gzip/ftgzip.c \ | 
|---|
| 154 | ../3rdparty/freetype/src/pcf/pcf.c \ | 
|---|
| 155 | ../3rdparty/freetype/src/pfr/pfr.c \ | 
|---|
| 156 | ../3rdparty/freetype/src/psaux/psaux.c \ | 
|---|
| 157 | ../3rdparty/freetype/src/pshinter/pshinter.c \ | 
|---|
| 158 | ../3rdparty/freetype/src/psnames/psmodule.c \ | 
|---|
| 159 | ../3rdparty/freetype/src/raster/raster.c \ | 
|---|
| 160 | ../3rdparty/freetype/src/sfnt/sfnt.c \ | 
|---|
| 161 | ../3rdparty/freetype/src/smooth/smooth.c \ | 
|---|
| 162 | ../3rdparty/freetype/src/truetype/truetype.c \ | 
|---|
| 163 | ../3rdparty/freetype/src/type1/type1.c \ | 
|---|
| 164 | ../3rdparty/freetype/src/type42/type42.c \ | 
|---|
| 165 | ../3rdparty/freetype/src/winfonts/winfnt.c \ | 
|---|
| 166 | ../3rdparty/freetype/src/lzw/ftlzw.c\ | 
|---|
| 167 | ../3rdparty/freetype/src/otvalid/otvalid.c\ | 
|---|
| 168 | ../3rdparty/freetype/src/otvalid/otvbase.c\ | 
|---|
| 169 | ../3rdparty/freetype/src/otvalid/otvgdef.c\ | 
|---|
| 170 | ../3rdparty/freetype/src/otvalid/otvjstf.c\ | 
|---|
| 171 | ../3rdparty/freetype/src/otvalid/otvcommn.c\ | 
|---|
| 172 | ../3rdparty/freetype/src/otvalid/otvgpos.c\ | 
|---|
| 173 | ../3rdparty/freetype/src/otvalid/otvgsub.c\ | 
|---|
| 174 | ../3rdparty/freetype/src/otvalid/otvmod.c\ | 
|---|
| 175 | ../3rdparty/freetype/src/autofit/afangles.c\ | 
|---|
| 176 | ../3rdparty/freetype/src/autofit/afglobal.c\ | 
|---|
| 177 | ../3rdparty/freetype/src/autofit/aflatin.c\ | 
|---|
| 178 | ../3rdparty/freetype/src/autofit/afmodule.c\ | 
|---|
| 179 | ../3rdparty/freetype/src/autofit/afdummy.c\ | 
|---|
| 180 | ../3rdparty/freetype/src/autofit/afhints.c\ | 
|---|
| 181 | ../3rdparty/freetype/src/autofit/afloader.c\ | 
|---|
| 182 | ../3rdparty/freetype/src/autofit/autofit.c | 
|---|
| 183 |  | 
|---|
| 184 | symbian { | 
|---|
| 185 | SOURCES += \ | 
|---|
| 186 | ../3rdparty/freetype/src/base/ftsystem.c | 
|---|
| 187 | DEFINES += FT_CONFIG_OPTION_SYSTEM_ZLIB | 
|---|
| 188 | } os2 { | 
|---|
| 189 | SOURCES += \ | 
|---|
| 190 | ../3rdparty/freetype/src/base/ftsystem.c | 
|---|
| 191 | INCLUDEPATH += \ | 
|---|
| 192 | ../3rdparty/freetype/builds/os2 | 
|---|
| 193 | } else { | 
|---|
| 194 | SOURCES += \ | 
|---|
| 195 | ../3rdparty/freetype/builds/unix/ftsystem.c | 
|---|
| 196 | INCLUDEPATH += \ | 
|---|
| 197 | ../3rdparty/freetype/builds/unix | 
|---|
| 198 | DEFINES += FT_CONFIG_OPTION_SYSTEM_ZLIB | 
|---|
| 199 | } | 
|---|
| 200 |  | 
|---|
| 201 | INCLUDEPATH += \ | 
|---|
| 202 | ../3rdparty/freetype/src \ | 
|---|
| 203 | ../3rdparty/freetype/include | 
|---|
| 204 |  | 
|---|
| 205 | DEFINES += FT2_BUILD_LIBRARY | 
|---|
| 206 |  | 
|---|
| 207 | embedded:CONFIG += opentype | 
|---|
| 208 | } else:contains(QT_CONFIG, system-freetype) { | 
|---|
| 209 | embedded:CONFIG += opentype | 
|---|
| 210 | # pull in the proper freetype2 include directory | 
|---|
| 211 | include($$QT_SOURCE_TREE/config.tests/unix/freetype/freetype.pri) | 
|---|
| 212 | LIBS_PRIVATE += -lfreetype | 
|---|
| 213 | } else { | 
|---|
| 214 | DEFINES *= QT_NO_FREETYPE | 
|---|
| 215 | } | 
|---|
| 216 |  | 
|---|
| 217 | contains(QT_CONFIG, fontconfig) { | 
|---|
| 218 | CONFIG += opentype | 
|---|
| 219 | } else { | 
|---|
| 220 | DEFINES *= QT_NO_FONTCONFIG | 
|---|
| 221 | } | 
|---|
| 222 |  | 
|---|
| 223 | DEFINES += QT_NO_OPENTYPE | 
|---|
| 224 | INCLUDEPATH += ../3rdparty/harfbuzz/src | 
|---|