author | Eckhart Koeppen <eckhart.koppen@nokia.com> |
Wed, 21 Apr 2010 20:15:53 +0300 | |
branch | RCL_3 |
changeset 14 | c0432d11811c |
parent 4 | 3b1da2848fc7 |
child 30 | 5dc02b23752f |
permissions | -rw-r--r-- |
0 | 1 |
# Qt gui library, paint module |
2 |
||
3 |
HEADERS += \ |
|
4 |
painting/qbezier_p.h \ |
|
5 |
painting/qbrush.h \ |
|
6 |
painting/qcolor.h \ |
|
7 |
painting/qcolor_p.h \ |
|
8 |
painting/qcolormap.h \ |
|
9 |
painting/qdrawutil.h \ |
|
10 |
painting/qemulationpaintengine_p.h \ |
|
11 |
painting/qgraphicssystem_p.h \ |
|
12 |
painting/qmatrix.h \ |
|
13 |
painting/qmemrotate_p.h \ |
|
14 |
painting/qoutlinemapper_p.h \ |
|
15 |
painting/qpaintdevice.h \ |
|
16 |
painting/qpaintengine.h \ |
|
17 |
painting/qpaintengine_p.h \ |
|
18 |
painting/qpaintengine_alpha_p.h \ |
|
19 |
painting/qpaintengine_preview_p.h \ |
|
20 |
painting/qpaintengineex_p.h \ |
|
21 |
painting/qpainter.h \ |
|
22 |
painting/qpainter_p.h \ |
|
23 |
painting/qpainterpath.h \ |
|
24 |
painting/qpainterpath_p.h \ |
|
25 |
painting/qvectorpath_p.h \ |
|
26 |
painting/qpathclipper_p.h \ |
|
27 |
painting/qpdf_p.h \ |
|
28 |
painting/qpen.h \ |
|
29 |
painting/qpolygon.h \ |
|
30 |
painting/qpolygonclipper_p.h \ |
|
31 |
painting/qprintengine.h \ |
|
32 |
painting/qprintengine_pdf_p.h \ |
|
33 |
painting/qprintengine_ps_p.h \ |
|
34 |
painting/qprinter.h \ |
|
35 |
painting/qprinter_p.h \ |
|
36 |
painting/qprinterinfo.h \ |
|
37 |
painting/qrasterizer_p.h \ |
|
38 |
painting/qregion.h \ |
|
39 |
painting/qstroker_p.h \ |
|
40 |
painting/qstylepainter.h \ |
|
41 |
painting/qtessellator_p.h \ |
|
42 |
painting/qtextureglyphcache_p.h \ |
|
43 |
painting/qtransform.h \ |
|
44 |
painting/qwindowsurface_p.h \ |
|
45 |
painting/qwmatrix.h \ |
|
46 |
painting/qpaintbuffer_p.h |
|
47 |
||
48 |
||
49 |
SOURCES += \ |
|
50 |
painting/qbezier.cpp \ |
|
51 |
painting/qblendfunctions.cpp \ |
|
52 |
painting/qbrush.cpp \ |
|
53 |
painting/qcolor.cpp \ |
|
54 |
painting/qcolor_p.cpp \ |
|
55 |
painting/qcssutil.cpp \ |
|
56 |
painting/qdrawutil.cpp \ |
|
57 |
painting/qemulationpaintengine.cpp \ |
|
58 |
painting/qgraphicssystem.cpp \ |
|
59 |
painting/qmatrix.cpp \ |
|
60 |
painting/qmemrotate.cpp \ |
|
61 |
painting/qoutlinemapper.cpp \ |
|
62 |
painting/qpaintdevice.cpp \ |
|
63 |
painting/qpaintengine.cpp \ |
|
64 |
painting/qpaintengine_alpha.cpp \ |
|
65 |
painting/qpaintengine_preview.cpp \ |
|
66 |
painting/qpaintengineex.cpp \ |
|
67 |
painting/qpainter.cpp \ |
|
68 |
painting/qpainterpath.cpp \ |
|
69 |
painting/qpathclipper.cpp \ |
|
70 |
painting/qpdf.cpp \ |
|
71 |
painting/qpen.cpp \ |
|
72 |
painting/qpolygon.cpp \ |
|
73 |
painting/qprintengine_pdf.cpp \ |
|
74 |
painting/qprintengine_ps.cpp \ |
|
75 |
painting/qprinter.cpp \ |
|
76 |
painting/qrasterizer.cpp \ |
|
77 |
painting/qregion.cpp \ |
|
78 |
painting/qstroker.cpp \ |
|
79 |
painting/qstylepainter.cpp \ |
|
80 |
painting/qtessellator.cpp \ |
|
81 |
painting/qtextureglyphcache.cpp \ |
|
82 |
painting/qtransform.cpp \ |
|
83 |
painting/qwindowsurface.cpp \ |
|
84 |
painting/qpaintbuffer.cpp |
|
85 |
||
86 |
SOURCES += \ |
|
87 |
painting/qpaintengine_raster.cpp \ |
|
88 |
painting/qdrawhelper.cpp \ |
|
89 |
painting/qimagescale.cpp \ |
|
90 |
painting/qgrayraster.c |
|
91 |
||
92 |
HEADERS += \ |
|
93 |
painting/qpaintengine_raster_p.h \ |
|
94 |
painting/qrasterdefs_p.h \ |
|
95 |
painting/qgrayraster_p.h |
|
96 |
||
97 |
win32 { |
|
98 |
HEADERS += painting/qprintengine_win_p.h |
|
99 |
||
100 |
SOURCES += \ |
|
101 |
painting/qcolormap_win.cpp \ |
|
102 |
painting/qpaintdevice_win.cpp \ |
|
103 |
painting/qprintengine_win.cpp \ |
|
104 |
painting/qprinterinfo_win.cpp |
|
105 |
||
106 |
!win32-borland:!wince*:LIBS += -lmsimg32 |
|
107 |
} |
|
108 |
||
109 |
embedded { |
|
110 |
HEADERS += \ |
|
111 |
painting/qgraphicssystem_qws_p.h \ |
|
112 |
||
113 |
SOURCES += \ |
|
114 |
painting/qgraphicssystem_qws.cpp \ |
|
115 |
||
116 |
} else { |
|
117 |
HEADERS += \ |
|
118 |
painting/qgraphicssystem_raster_p.h \ |
|
119 |
painting/qgraphicssystemfactory_p.h \ |
|
120 |
painting/qgraphicssystemplugin_p.h \ |
|
121 |
painting/qwindowsurface_raster_p.h \ |
|
122 |
||
123 |
SOURCES += \ |
|
124 |
painting/qgraphicssystem_raster.cpp \ |
|
125 |
painting/qgraphicssystemfactory.cpp \ |
|
126 |
painting/qgraphicssystemplugin.cpp \ |
|
127 |
painting/qwindowsurface_raster.cpp \ |
|
128 |
} |
|
129 |
||
130 |
unix:x11 { |
|
131 |
HEADERS += \ |
|
132 |
painting/qpaintengine_x11_p.h |
|
133 |
||
134 |
SOURCES += \ |
|
135 |
painting/qcolormap_x11.cpp \ |
|
136 |
painting/qpaintdevice_x11.cpp \ |
|
137 |
painting/qpaintengine_x11.cpp |
|
138 |
} |
|
139 |
||
140 |
!embedded:!x11:mac { |
|
141 |
HEADERS += \ |
|
142 |
painting/qpaintengine_mac_p.h \ |
|
143 |
painting/qgraphicssystem_mac_p.h \ |
|
144 |
painting/qprintengine_mac_p.h |
|
145 |
||
146 |
SOURCES += \ |
|
147 |
painting/qcolormap_mac.cpp \ |
|
148 |
painting/qpaintdevice_mac.cpp \ |
|
149 |
painting/qpaintengine_mac.cpp \ |
|
150 |
painting/qgraphicssystem_mac.cpp \ |
|
151 |
painting/qprinterinfo_mac.cpp |
|
152 |
OBJECTIVE_SOURCES += \ |
|
153 |
painting/qprintengine_mac.mm \ |
|
154 |
} |
|
155 |
||
156 |
unix:!mac:!symbian { |
|
157 |
HEADERS += \ |
|
158 |
painting/qprinterinfo_unix_p.h |
|
159 |
SOURCES += \ |
|
160 |
painting/qprinterinfo_unix.cpp |
|
161 |
} |
|
162 |
||
163 |
win32|x11|mac|embedded|symbian { |
|
164 |
SOURCES += painting/qbackingstore.cpp |
|
165 |
HEADERS += painting/qbackingstore_p.h |
|
166 |
} |
|
167 |
||
168 |
embedded { |
|
169 |
contains(QT_CONFIG,qtopia) { |
|
170 |
DEFINES += QTOPIA_PRINTENGINE |
|
171 |
HEADERS += painting/qprintengine_qws_p.h |
|
172 |
SOURCES += painting/qprintengine_qws.cpp |
|
173 |
} |
|
174 |
||
175 |
SOURCES += \ |
|
176 |
painting/qcolormap_qws.cpp \ |
|
177 |
painting/qpaintdevice_qws.cpp |
|
178 |
} |
|
179 |
||
180 |
symbian { |
|
181 |
SOURCES += \ |
|
182 |
painting/qpaintengine_s60.cpp \ |
|
183 |
painting/qregion_s60.cpp \ |
|
184 |
painting/qcolormap_s60.cpp |
|
185 |
||
186 |
HEADERS += \ |
|
187 |
painting/qpaintengine_s60_p.h |
|
188 |
} |
|
189 |
||
190 |
x11|embedded { |
|
191 |
contains(QT_CONFIG,qtopia) { |
|
192 |
DEFINES += QT_NO_CUPS QT_NO_LPR |
|
193 |
} else { |
|
194 |
SOURCES += painting/qcups.cpp |
|
195 |
HEADERS += painting/qcups_p.h |
|
196 |
} |
|
197 |
} else { |
|
198 |
DEFINES += QT_NO_CUPS QT_NO_LPR |
|
199 |
} |
|
200 |
||
201 |
contains(QMAKE_MAC_XARCH, no) { |
|
202 |
DEFINES += QT_NO_MAC_XARCH |
|
203 |
} else:if(mmx|3dnow|sse|sse2|iwmmxt) { |
|
204 |
HEADERS += painting/qdrawhelper_x86_p.h \ |
|
205 |
painting/qdrawhelper_mmx_p.h \ |
|
206 |
painting/qdrawhelper_sse_p.h |
|
207 |
mmx { |
|
208 |
DEFINES += QT_HAVE_MMX |
|
209 |
MMX_SOURCES += painting/qdrawhelper_mmx.cpp |
|
210 |
} |
|
211 |
3dnow { |
|
212 |
DEFINES += QT_HAVE_3DNOW |
|
213 |
MMX3DNOW_SOURCES += painting/qdrawhelper_mmx3dnow.cpp |
|
214 |
sse { |
|
215 |
SSE3DNOW_SOURCES += painting/qdrawhelper_sse3dnow.cpp |
|
216 |
} |
|
217 |
} |
|
218 |
sse { |
|
219 |
DEFINES += QT_HAVE_SSE |
|
220 |
SSE_SOURCES += painting/qdrawhelper_sse.cpp |
|
221 |
||
222 |
DEFINES += QT_HAVE_MMXEXT |
|
223 |
} |
|
224 |
sse2 { |
|
225 |
DEFINES += QT_HAVE_SSE2 |
|
226 |
SSE2_SOURCES += painting/qdrawhelper_sse2.cpp |
|
227 |
} |
|
228 |
iwmmxt { |
|
229 |
DEFINES += QT_HAVE_IWMMXT |
|
230 |
IWMMXT_SOURCES += painting/qdrawhelper_iwmmxt.cpp |
|
231 |
} |
|
232 |
||
233 |
win32-g++|!win32:!*-icc* { |
|
234 |
mmx { |
|
235 |
mmx_compiler.commands = $$QMAKE_CXX -c -Winline |
|
236 |
||
237 |
mac { |
|
238 |
mmx_compiler.commands += -Xarch_i386 -mmmx |
|
239 |
mmx_compiler.commands += -Xarch_x86_64 -mmmx |
|
240 |
} else { |
|
241 |
mmx_compiler.commands += -mmmx |
|
242 |
} |
|
243 |
||
244 |
mmx_compiler.commands += $(CXXFLAGS) $(INCPATH) ${QMAKE_FILE_IN} -o ${QMAKE_FILE_OUT} |
|
245 |
mmx_compiler.dependency_type = TYPE_C |
|
246 |
mmx_compiler.output = ${QMAKE_VAR_OBJECTS_DIR}${QMAKE_FILE_BASE}$${first(QMAKE_EXT_OBJ)} |
|
247 |
mmx_compiler.input = MMX_SOURCES |
|
248 |
mmx_compiler.variable_out = OBJECTS |
|
249 |
mmx_compiler.name = compiling[mmx] ${QMAKE_FILE_IN} |
|
250 |
silent:mmx_compiler.commands = @echo compiling[mmx] ${QMAKE_FILE_IN} && $$mmx_compiler.commands |
|
251 |
QMAKE_EXTRA_COMPILERS += mmx_compiler |
|
252 |
} |
|
253 |
3dnow { |
|
254 |
mmx3dnow_compiler.commands = $$QMAKE_CXX -c -Winline |
|
255 |
||
256 |
mac { |
|
257 |
mmx3dnow_compiler.commands += -Xarch_i386 -m3dnow -Xarch_i386 -mmmx |
|
258 |
mmx3dnow_compiler.commands += -Xarch_x86_64 -m3dnow -Xarch_x86_64 -mmmx |
|
259 |
} else { |
|
260 |
mmx3dnow_compiler.commands += -m3dnow -mmmx |
|
261 |
} |
|
262 |
||
263 |
mmx3dnow_compiler.commands += $(CXXFLAGS) $(INCPATH) ${QMAKE_FILE_IN} -o ${QMAKE_FILE_OUT} |
|
264 |
mmx3dnow_compiler.dependency_type = TYPE_C |
|
265 |
mmx3dnow_compiler.output = ${QMAKE_VAR_OBJECTS_DIR}${QMAKE_FILE_BASE}$${first(QMAKE_EXT_OBJ)} |
|
266 |
mmx3dnow_compiler.input = MMX3DNOW_SOURCES |
|
267 |
mmx3dnow_compiler.variable_out = OBJECTS |
|
268 |
mmx3dnow_compiler.name = compiling[mmx3dnow] ${QMAKE_FILE_IN} |
|
269 |
silent:mmx3dnow_compiler.commands = @echo compiling[mmx3dnow] ${QMAKE_FILE_IN} && $$mmx3dnow_compiler.commands |
|
270 |
QMAKE_EXTRA_COMPILERS += mmx3dnow_compiler |
|
271 |
sse { |
|
272 |
sse3dnow_compiler.commands = $$QMAKE_CXX -c -Winline |
|
273 |
||
274 |
mac { |
|
275 |
sse3dnow_compiler.commands += -Xarch_i386 -m3dnow -Xarch_i386 -msse |
|
276 |
sse3dnow_compiler.commands += -Xarch_x86_64 -m3dnow -Xarch_x86_64 -msse |
|
277 |
} else { |
|
278 |
sse3dnow_compiler.commands += -m3dnow -msse |
|
279 |
} |
|
280 |
||
281 |
sse3dnow_compiler.commands += $(CXXFLAGS) $(INCPATH) ${QMAKE_FILE_IN} -o ${QMAKE_FILE_OUT} |
|
282 |
sse3dnow_compiler.dependency_type = TYPE_C |
|
283 |
sse3dnow_compiler.output = ${QMAKE_VAR_OBJECTS_DIR}${QMAKE_FILE_BASE}$${first(QMAKE_EXT_OBJ)} |
|
284 |
sse3dnow_compiler.input = SSE3DNOW_SOURCES |
|
285 |
sse3dnow_compiler.variable_out = OBJECTS |
|
286 |
sse3dnow_compiler.name = compiling[sse3dnow] ${QMAKE_FILE_IN} |
|
287 |
silent:sse3dnow_compiler.commands = @echo compiling[sse3dnow] ${QMAKE_FILE_IN} && $$sse3dnow_compiler.commands |
|
288 |
QMAKE_EXTRA_COMPILERS += sse3dnow_compiler |
|
289 |
} |
|
290 |
} |
|
291 |
sse { |
|
292 |
sse_compiler.commands = $$QMAKE_CXX -c -Winline |
|
293 |
||
294 |
mac { |
|
295 |
sse_compiler.commands += -Xarch_i386 -msse |
|
296 |
sse_compiler.commands += -Xarch_x86_64 -msse |
|
297 |
} else { |
|
298 |
sse_compiler.commands += -msse |
|
299 |
} |
|
300 |
||
301 |
sse_compiler.commands += $(CXXFLAGS) $(INCPATH) ${QMAKE_FILE_IN} -o ${QMAKE_FILE_OUT} |
|
302 |
sse_compiler.dependency_type = TYPE_C |
|
303 |
sse_compiler.output = ${QMAKE_VAR_OBJECTS_DIR}${QMAKE_FILE_BASE}$${first(QMAKE_EXT_OBJ)} |
|
304 |
sse_compiler.input = SSE_SOURCES |
|
305 |
sse_compiler.variable_out = OBJECTS |
|
306 |
sse_compiler.name = compiling[sse] ${QMAKE_FILE_IN} |
|
307 |
silent:sse_compiler.commands = @echo compiling[sse] ${QMAKE_FILE_IN} && $$sse_compiler.commands |
|
308 |
QMAKE_EXTRA_COMPILERS += sse_compiler |
|
309 |
} |
|
310 |
sse2 { |
|
311 |
sse2_compiler.commands = $$QMAKE_CXX -c -Winline |
|
312 |
||
313 |
mac { |
|
314 |
sse2_compiler.commands += -Xarch_i386 -msse2 |
|
315 |
sse2_compiler.commands += -Xarch_x86_64 -msse2 |
|
316 |
} else { |
|
317 |
sse2_compiler.commands += -msse2 |
|
318 |
} |
|
319 |
||
320 |
sse2_compiler.commands += $(CXXFLAGS) $(INCPATH) ${QMAKE_FILE_IN} -o ${QMAKE_FILE_OUT} |
|
321 |
sse2_compiler.dependency_type = TYPE_C |
|
322 |
sse2_compiler.output = ${QMAKE_VAR_OBJECTS_DIR}${QMAKE_FILE_BASE}$${first(QMAKE_EXT_OBJ)} |
|
323 |
sse2_compiler.input = SSE2_SOURCES |
|
324 |
sse2_compiler.variable_out = OBJECTS |
|
325 |
sse2_compiler.name = compiling[sse2] ${QMAKE_FILE_IN} |
|
326 |
silent:sse2_compiler.commands = @echo compiling[sse2] ${QMAKE_FILE_IN} && $$sse2_compiler.commands |
|
327 |
QMAKE_EXTRA_COMPILERS += sse2_compiler |
|
328 |
} |
|
329 |
iwmmxt { |
|
330 |
iwmmxt_compiler.commands = $$QMAKE_CXX -c -Winline |
|
331 |
iwmmxt_compiler.commands += -mcpu=iwmmxt |
|
332 |
iwmmxt_compiler.commands += $(CXXFLAGS) $(INCPATH) ${QMAKE_FILE_IN} -o ${QMAKE_FILE_OUT} |
|
333 |
iwmmxt_compiler.dependency_type = TYPE_C |
|
334 |
iwmmxt_compiler.output = ${QMAKE_VAR_OBJECTS_DIR}${QMAKE_FILE_BASE}$${first(QMAKE_EXT_OBJ)} |
|
335 |
iwmmxt_compiler.input = IWMMXT_SOURCES |
|
336 |
iwmmxt_compiler.variable_out = OBJECTS |
|
337 |
iwmmxt_compiler.name = compiling[iwmmxt] ${QMAKE_FILE_IN} |
|
338 |
silent:iwmmxt_compiler.commands = @echo compiling[iwmmxt] ${QMAKE_FILE_IN} && $$iwmmxt_compiler.commands |
|
339 |
QMAKE_EXTRA_COMPILERS += iwmmxt_compiler |
|
340 |
} |
|
341 |
} else { |
|
342 |
mmx: SOURCES += $$MMX_SOURCES |
|
343 |
3dnow: SOURCES += $$MMX3DNOW_SOURCES |
|
344 |
3dnow:sse: SOURCES += $$SSE3DNOW_SOURCES |
|
345 |
sse: SOURCES += $$SSE_SOURCES |
|
346 |
sse2: SOURCES += $$SSE2_SOURCES |
|
347 |
iwmmxt: SOURCES += $$IWMMXT_SOURCES |
|
348 |
} |
|
349 |
} |
|
350 |
||
351 |
x11 { |
|
352 |
HEADERS += painting/qwindowsurface_x11_p.h |
|
353 |
SOURCES += painting/qwindowsurface_x11.cpp |
|
354 |
} |
|
355 |
||
356 |
mac { |
|
357 |
HEADERS += painting/qwindowsurface_mac_p.h |
|
358 |
SOURCES += painting/qwindowsurface_mac.cpp |
|
359 |
} |
|
360 |
||
361 |
embedded { |
|
362 |
HEADERS += painting/qwindowsurface_qws_p.h |
|
363 |
SOURCES += painting/qwindowsurface_qws.cpp |
|
364 |
} |
|
365 |
||
366 |
||
367 |
||
368 |
symbian { |
|
369 |
HEADERS += painting/qwindowsurface_s60_p.h |
|
370 |
SOURCES += painting/qwindowsurface_s60.cpp |
|
371 |
armccIfdefBlock = \ |
|
372 |
"$${LITERAL_HASH}if defined(ARMV6)" \ |
|
373 |
"SOURCEPATH painting" \ |
|
374 |
"SOURCE qblendfunctions_armv6_rvct.s" \ |
|
375 |
"SOURCE qdrawhelper_armv6_rvct.s" \ |
|
376 |
"$${LITERAL_HASH}endif" |
|
377 |
||
378 |
MMP_RULES += armccIfdefBlock |
|
379 |
QMAKE_CXXFLAGS.ARMCC *= -O3 |
|
380 |
} |
|
381 |
||
3
41300fa6a67c
Revision: 201003
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
0
diff
changeset
|
382 |
neon { |
41300fa6a67c
Revision: 201003
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
0
diff
changeset
|
383 |
DEFINES += QT_HAVE_NEON |
41300fa6a67c
Revision: 201003
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
0
diff
changeset
|
384 |
HEADERS += painting/qdrawhelper_neon_p.h |
41300fa6a67c
Revision: 201003
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
0
diff
changeset
|
385 |
SOURCES += painting/qdrawhelper_neon.cpp |
4
3b1da2848fc7
Revision: 201003
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
3
diff
changeset
|
386 |
QMAKE_CXXFLAGS *= -mfpu=neon |
3
41300fa6a67c
Revision: 201003
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
0
diff
changeset
|
387 |
} |
41300fa6a67c
Revision: 201003
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
0
diff
changeset
|
388 |
|
0 | 389 |
contains(QT_CONFIG, zlib) { |
390 |
INCLUDEPATH += ../3rdparty/zlib |
|
391 |
} else:!contains(QT_CONFIG, no-zlib) { |
|
392 |
unix:LIBS_PRIVATE += -lz |
|
393 |
# win32:LIBS += libz.lib |
|
394 |
} |
|
395 |