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

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

gui: Added OS/2 stubs for platform-specific parts of all key GUI classes. Non-key classes are temporarily disabled with QT_NO_ defines.

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