source: trunk/src/gui/text/text.pri@ 318

Last change on this file since 318 was 220, checked in by Dmitry A. Kuminov, 16 years ago

gui: Added enumeration of installed PM fonts.

File size: 5.5 KB
Line 
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
42SOURCES += \
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
71win32 {
72 SOURCES += \
73 text/qfont_win.cpp \
74 text/qfontengine_win.cpp
75 HEADERS += text/qfontengine_win_p.h
76}
77
78os2 {
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
88unix:x11 {
89 HEADERS += \
90 text/qfontengine_x11_p.h \
91 text/qfontengine_ft_p.h
92 SOURCES += \
93 text/qfont_x11.cpp \
94 text/qfontengine_x11.cpp \
95 text/qfontengine_ft.cpp
96}
97
98!embedded:!x11:mac {
99 SOURCES += \
100 text/qfont_mac.cpp
101 OBJECTIVE_SOURCES += text/qfontengine_mac.mm
102}
103
104embedded {
105 SOURCES += \
106 text/qfont_qws.cpp \
107 text/qfontengine_qws.cpp \
108 text/qfontengine_ft.cpp \
109 text/qfontengine_qpf.cpp \
110 text/qabstractfontengine_qws.cpp
111 HEADERS += \
112 text/qfontengine_ft_p.h \
113 text/qfontengine_qpf_p.h \
114 text/qabstractfontengine_qws.h \
115 text/qabstractfontengine_p.h
116 DEFINES += QT_NO_FONTCONFIG
117}
118
119contains(QT_CONFIG, freetype) {
120 SOURCES += \
121 ../3rdparty/freetype/src/base/ftbase.c \
122 ../3rdparty/freetype/src/base/ftbbox.c \
123 ../3rdparty/freetype/src/base/ftdebug.c \
124 ../3rdparty/freetype/src/base/ftglyph.c \
125 ../3rdparty/freetype/src/base/ftinit.c \
126 ../3rdparty/freetype/src/base/ftmm.c \
127 ../3rdparty/freetype/src/base/fttype1.c \
128 ../3rdparty/freetype/src/base/ftbitmap.c\
129 ../3rdparty/freetype/src/bdf/bdf.c \
130 ../3rdparty/freetype/src/cache/ftcache.c \
131 ../3rdparty/freetype/src/cff/cff.c \
132 ../3rdparty/freetype/src/cid/type1cid.c \
133 ../3rdparty/freetype/src/gzip/ftgzip.c \
134 ../3rdparty/freetype/src/pcf/pcf.c \
135 ../3rdparty/freetype/src/pfr/pfr.c \
136 ../3rdparty/freetype/src/psaux/psaux.c \
137 ../3rdparty/freetype/src/pshinter/pshinter.c \
138 ../3rdparty/freetype/src/psnames/psmodule.c \
139 ../3rdparty/freetype/src/raster/raster.c \
140 ../3rdparty/freetype/src/sfnt/sfnt.c \
141 ../3rdparty/freetype/src/smooth/smooth.c \
142 ../3rdparty/freetype/src/truetype/truetype.c \
143 ../3rdparty/freetype/src/type1/type1.c \
144 ../3rdparty/freetype/src/type42/type42.c \
145 ../3rdparty/freetype/src/winfonts/winfnt.c \
146 ../3rdparty/freetype/src/lzw/ftlzw.c\
147 ../3rdparty/freetype/src/otvalid/otvalid.c\
148 ../3rdparty/freetype/src/otvalid/otvbase.c\
149 ../3rdparty/freetype/src/otvalid/otvgdef.c\
150 ../3rdparty/freetype/src/otvalid/otvjstf.c\
151 ../3rdparty/freetype/src/otvalid/otvcommn.c\
152 ../3rdparty/freetype/src/otvalid/otvgpos.c\
153 ../3rdparty/freetype/src/otvalid/otvgsub.c\
154 ../3rdparty/freetype/src/otvalid/otvmod.c\
155 ../3rdparty/freetype/src/autofit/afangles.c\
156 ../3rdparty/freetype/src/autofit/afglobal.c\
157 ../3rdparty/freetype/src/autofit/aflatin.c\
158 ../3rdparty/freetype/src/autofit/afmodule.c\
159 ../3rdparty/freetype/src/autofit/afdummy.c\
160 ../3rdparty/freetype/src/autofit/afhints.c\
161 ../3rdparty/freetype/src/autofit/afloader.c\
162 ../3rdparty/freetype/src/autofit/autofit.c
163
164 INCLUDEPATH += \
165 ../3rdparty/freetype/src \
166 ../3rdparty/freetype/include
167
168 DEFINES += FT2_BUILD_LIBRARY
169
170 os2 {
171 SOURCES += ../3rdparty/freetype/src/base/ftsystem.c
172 INCLUDEPATH += ../3rdparty/freetype/builds/os2
173 } else {
174 SOURCES += ../3rdparty/freetype/builds/unix/ftsystem.c
175 INCLUDEPATH += ../3rdparty/freetype/builds/unix
176 DEFINES += FT_CONFIG_OPTION_SYSTEM_ZLIB
177 }
178
179 embedded:CONFIG += opentype
180} else:contains(QT_CONFIG, system-freetype) {
181 embedded:CONFIG += opentype
182 # pull in the proper freetype2 include directory
183 include($$QT_SOURCE_TREE/config.tests/unix/freetype/freetype.pri)
184 LIBS += -lfreetype
185} else {
186 DEFINES *= QT_NO_FREETYPE
187}
188
189contains(QT_CONFIG, fontconfig) {
190 CONFIG += opentype
191} else {
192 DEFINES *= QT_NO_FONTCONFIG
193}
194
195DEFINES += QT_NO_OPENTYPE
196INCLUDEPATH += ../3rdparty/harfbuzz/src
Note: See TracBrowser for help on using the repository browser.