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

Last change on this file since 1168 was 846, checked in by Dmitry A. Kuminov, 14 years ago

trunk: Merged in qt 4.7.2 sources from branches/vendor/nokia/qt.

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