1# Qt kernel module 2 3HEADERS += \ 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 text/qstatictext_p.h \ 42 text/qstatictext.h \ 43 text/qrawfont.h \ 44 text/qrawfont_p.h \ 45 text/qglyphrun.h \ 46 text/qglyphrun_p.h 47 48SOURCES += \ 49 text/qfont.cpp \ 50 text/qfontengine.cpp \ 51 text/qfontsubset.cpp \ 52 text/qfontmetrics.cpp \ 53 text/qfontdatabase.cpp \ 54 text/qtextcontrol.cpp \ 55 text/qtextengine.cpp \ 56 text/qtextlayout.cpp \ 57 text/qtextformat.cpp \ 58 text/qtextobject.cpp \ 59 text/qtextoption.cpp \ 60 text/qfragmentmap.cpp \ 61 text/qtextdocument.cpp \ 62 text/qtextdocument_p.cpp \ 63 text/qtexthtmlparser.cpp \ 64 text/qabstracttextdocumentlayout.cpp \ 65 text/qtextdocumentlayout.cpp \ 66 text/qtextcursor.cpp \ 67 text/qtextdocumentfragment.cpp \ 68 text/qtextimagehandler.cpp \ 69 text/qtexttable.cpp \ 70 text/qtextlist.cpp \ 71 text/qtextdocumentwriter.cpp \ 72 text/qsyntaxhighlighter.cpp \ 73 text/qcssparser.cpp \ 74 text/qzip.cpp \ 75 text/qtextodfwriter.cpp \ 76 text/qstatictext.cpp \ 77 text/qrawfont.cpp \ 78 text/qglyphrun.cpp 79 80win32 { 81 SOURCES += \ 82 text/qfont_win.cpp \ 83 text/qfontengine_win.cpp \ 84 text/qrawfont_win.cpp 85 HEADERS += text/qfontengine_win_p.h 86} 87 88contains(QT_CONFIG, directwrite) { 89 LIBS_PRIVATE += -ldwrite 90 HEADERS += text/qfontenginedirectwrite_p.h 91 SOURCES += text/qfontenginedirectwrite.cpp 92} 93 94unix:x11 { 95 HEADERS += \ 96 text/qfontengine_x11_p.h \ 97 text/qfontdatabase_x11.cpp \ 98 text/qfontengine_ft_p.h 99 SOURCES += \ 100 text/qfont_x11.cpp \ 101 text/qfontengine_x11.cpp \ 102 text/qfontengine_ft.cpp \ 103 text/qrawfont_ft.cpp 104} 105 106!embedded:!qpa:!x11:mac { 107 HEADERS += \ 108 text/qfontengine_mac_p.h 109 SOURCES += \ 110 text/qfont_mac.cpp \ 111 text/qrawfont_mac.cpp 112 OBJECTIVE_SOURCES += \ 113 text/qfontengine_mac.mm 114} 115!embedded:!x11:mac { 116 OBJECTIVE_HEADERS += \ 117 text/qfontengine_coretext_p.h 118 OBJECTIVE_SOURCES += \ 119 text/qfontengine_coretext.mm 120 contains(QT_CONFIG, harfbuzz) { 121 DEFINES += QT_ENABLE_HARFBUZZ_FOR_MAC 122 } 123} 124 125embedded { 126 SOURCES += \ 127 text/qfont_qws.cpp \ 128 text/qfontengine_qws.cpp \ 129 text/qfontengine_ft.cpp \ 130 text/qfontengine_qpf.cpp \ 131 text/qabstractfontengine_qws.cpp \ 132 text/qrawfont_ft.cpp 133 HEADERS += \ 134 text/qfontengine_ft_p.h \ 135 text/qfontengine_qpf_p.h \ 136 text/qabstractfontengine_qws.h \ 137 text/qabstractfontengine_p.h 138 DEFINES += QT_NO_FONTCONFIG 139} 140 141qpa { 142 SOURCES += \ 143 text/qfont_qpa.cpp \ 144 text/qfontengine_qpa.cpp \ 145 text/qplatformfontdatabase_qpa.cpp \ 146 text/qrawfont_qpa.cpp 147 148 HEADERS += \ 149 text/qplatformfontdatabase_qpa.h 150 151 DEFINES += QT_NO_FONTCONFIG 152 DEFINES += QT_NO_FREETYPE 153} 154 155symbian { 156 SOURCES += \ 157 text/qfont_s60.cpp 158 contains(QT_CONFIG, freetype) { 159 SOURCES += \ 160 text/qfontengine_ft.cpp \ 161 text/qrawfont_ft.cpp 162 HEADERS += \ 163 text/qfontengine_ft_p.h 164 DEFINES += \ 165 QT_NO_FONTCONFIG 166 } else { 167 SOURCES += \ 168 text/qfontengine_s60.cpp 169 HEADERS += \ 170 text/qfontengine_s60_p.h 171 } 172 LIBS += -lfntstr -lecom 173} 174 175!qpa { 176contains(QT_CONFIG, freetype) { 177 SOURCES += \ 178 ../3rdparty/freetype/src/base/ftbase.c \ 179 ../3rdparty/freetype/src/base/ftbbox.c \ 180 ../3rdparty/freetype/src/base/ftdebug.c \ 181 ../3rdparty/freetype/src/base/ftglyph.c \ 182 ../3rdparty/freetype/src/base/ftinit.c \ 183 ../3rdparty/freetype/src/base/ftmm.c \ 184 ../3rdparty/freetype/src/base/fttype1.c \ 185 ../3rdparty/freetype/src/base/ftsynth.c \ 186 ../3rdparty/freetype/src/base/ftbitmap.c \ 187 ../3rdparty/freetype/src/bdf/bdf.c \ 188 ../3rdparty/freetype/src/cache/ftcache.c \ 189 ../3rdparty/freetype/src/cff/cff.c \ 190 ../3rdparty/freetype/src/cid/type1cid.c \ 191 ../3rdparty/freetype/src/gzip/ftgzip.c \ 192 ../3rdparty/freetype/src/pcf/pcf.c \ 193 ../3rdparty/freetype/src/pfr/pfr.c \ 194 ../3rdparty/freetype/src/psaux/psaux.c \ 195 ../3rdparty/freetype/src/pshinter/pshinter.c \ 196 ../3rdparty/freetype/src/psnames/psmodule.c \ 197 ../3rdparty/freetype/src/raster/raster.c \ 198 ../3rdparty/freetype/src/sfnt/sfnt.c \ 199 ../3rdparty/freetype/src/smooth/smooth.c \ 200 ../3rdparty/freetype/src/truetype/truetype.c \ 201 ../3rdparty/freetype/src/type1/type1.c \ 202 ../3rdparty/freetype/src/type42/type42.c \ 203 ../3rdparty/freetype/src/winfonts/winfnt.c \ 204 ../3rdparty/freetype/src/lzw/ftlzw.c\ 205 ../3rdparty/freetype/src/otvalid/otvalid.c\ 206 ../3rdparty/freetype/src/otvalid/otvbase.c\ 207 ../3rdparty/freetype/src/otvalid/otvgdef.c\ 208 ../3rdparty/freetype/src/otvalid/otvjstf.c\ 209 ../3rdparty/freetype/src/otvalid/otvcommn.c\ 210 ../3rdparty/freetype/src/otvalid/otvgpos.c\ 211 ../3rdparty/freetype/src/otvalid/otvgsub.c\ 212 ../3rdparty/freetype/src/otvalid/otvmod.c\ 213 ../3rdparty/freetype/src/autofit/afangles.c\ 214 ../3rdparty/freetype/src/autofit/afglobal.c\ 215 ../3rdparty/freetype/src/autofit/aflatin.c\ 216 ../3rdparty/freetype/src/autofit/afmodule.c\ 217 ../3rdparty/freetype/src/autofit/afdummy.c\ 218 ../3rdparty/freetype/src/autofit/afhints.c\ 219 ../3rdparty/freetype/src/autofit/afloader.c\ 220 ../3rdparty/freetype/src/autofit/autofit.c 221 222 symbian { 223 SOURCES += \ 224 ../3rdparty/freetype/src/base/ftsystem.c 225 } else { 226 SOURCES += \ 227 ../3rdparty/freetype/builds/unix/ftsystem.c 228 INCLUDEPATH += \ 229 ../3rdparty/freetype/builds/unix 230 } 231 232 INCLUDEPATH += \ 233 ../3rdparty/freetype/src \ 234 ../3rdparty/freetype/include 235 236 DEFINES += FT2_BUILD_LIBRARY FT_CONFIG_OPTION_SYSTEM_ZLIB 237 238 embedded:CONFIG += opentype 239} else:contains(QT_CONFIG, system-freetype) { 240 embedded:CONFIG += opentype 241 # pull in the proper freetype2 include directory 242 include($$QT_SOURCE_TREE/config.tests/unix/freetype/freetype.pri) 243 LIBS_PRIVATE += -lfreetype 244} 245 246contains(QT_CONFIG, fontconfig) { 247 CONFIG += opentype 248} 249}#!qpa 250 251DEFINES += QT_NO_OPENTYPE 252INCLUDEPATH += ../3rdparty/harfbuzz/src 253