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/qtextengine_p.h \
13    text/qtextlayout.h \
14    text/qtextformat.h \
15    text/qtextformat_p.h \
16    text/qtextobject.h \
17    text/qtextobject_p.h \
18    text/qtextoption.h \
19    text/qfragmentmap_p.h \
20    text/qtextdocument.h \
21    text/qtextdocument_p.h \
22    text/qtexthtmlparser_p.h \
23    text/qabstracttextdocumentlayout.h \
24    text/qabstracttextdocumentlayout_p.h \
25    text/qtextdocumentlayout_p.h \
26    text/qtextcursor.h \
27    text/qtextcursor_p.h \
28    text/qtextdocumentfragment.h \
29    text/qtextdocumentfragment_p.h \
30    text/qtextimagehandler_p.h \
31    text/qtexttable.h \
32    text/qtextlist.h \
33    text/qsyntaxhighlighter.h \
34    text/qtextdocumentwriter.h \
35    text/qtexttable_p.h \
36    text/qstatictext_p.h \
37    text/qstatictext.h \
38    text/qrawfont.h \
39    text/qrawfont_p.h \
40    text/qglyphrun.h \
41    text/qglyphrun_p.h \
42    text/qdistancefield_p.h \
43    text/qinputcontrol_p.h
44
45SOURCES += \
46    text/qfont.cpp \
47    text/qfontengine.cpp \
48    text/qfontengineglyphcache.cpp \
49    text/qfontsubset.cpp \
50    text/qfontmetrics.cpp \
51    text/qfontdatabase.cpp \
52    text/qtextengine.cpp \
53    text/qtextlayout.cpp \
54    text/qtextformat.cpp \
55    text/qtextobject.cpp \
56    text/qtextoption.cpp \
57    text/qfragmentmap.cpp \
58    text/qtextdocument.cpp \
59    text/qtextdocument_p.cpp \
60    text/qtexthtmlparser.cpp \
61    text/qabstracttextdocumentlayout.cpp \
62    text/qtextdocumentlayout.cpp \
63    text/qtextcursor.cpp \
64    text/qtextdocumentfragment.cpp \
65    text/qtextimagehandler.cpp \
66    text/qtexttable.cpp \
67    text/qtextlist.cpp \
68    text/qtextdocumentwriter.cpp \
69    text/qsyntaxhighlighter.cpp \
70    text/qstatictext.cpp \
71    text/qrawfont.cpp \
72    text/qglyphrun.cpp \
73    text/qdistancefield.cpp \
74    text/qinputcontrol.cpp
75
76SOURCES += \
77    text/qfontengine_qpf2.cpp \
78    text/qplatformfontdatabase.cpp
79
80HEADERS += \
81    text/qplatformfontdatabase.h
82
83qtConfig(harfbuzz) {
84    QMAKE_USE_PRIVATE += harfbuzz
85
86    SOURCES += text/qharfbuzzng.cpp
87    HEADERS += text/qharfbuzzng_p.h
88}
89
90qtConfig(textodfwriter) {
91    HEADERS += \
92        text/qtextodfwriter_p.h \
93        text/qzipreader_p.h \
94        text/qzipwriter_p.h
95    SOURCES += \
96        text/qtextodfwriter.cpp \
97        text/qzip.cpp
98}
99
100qtConfig(textmarkdownreader) {
101    qtConfig(system-textmarkdownreader) {
102        QMAKE_USE_PRIVATE += libmd4c
103    } else {
104        include($$PWD/../../3rdparty/md4c.pri)
105    }
106    HEADERS += \
107        text/qtextmarkdownimporter_p.h
108    SOURCES += \
109        text/qtextmarkdownimporter.cpp
110}
111
112qtConfig(textmarkdownwriter) {
113    HEADERS += \
114        text/qtextmarkdownwriter_p.h
115    SOURCES += \
116        text/qtextmarkdownwriter.cpp
117}
118
119qtConfig(cssparser) {
120    HEADERS += \
121        text/qcssparser_p.h
122    SOURCES += \
123        text/qcssparser.cpp
124}
125