author | Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com> |
Thu, 02 Sep 2010 21:20:32 +0300 | |
changeset 34 | a33bf25e6f72 |
parent 33 | 3e2da88830cd |
child 37 | 758a864f9613 |
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 \ |
|
30
5dc02b23752f
Revision: 201025
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
18
diff
changeset
|
94 |
painting/qdrawhelper_p.h \ |
5dc02b23752f
Revision: 201025
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
18
diff
changeset
|
95 |
painting/qblendfunctions_p.h \ |
0 | 96 |
painting/qrasterdefs_p.h \ |
97 |
painting/qgrayraster_p.h |
|
98 |
||
99 |
win32 { |
|
100 |
HEADERS += painting/qprintengine_win_p.h |
|
101 |
||
102 |
SOURCES += \ |
|
103 |
painting/qcolormap_win.cpp \ |
|
104 |
painting/qpaintdevice_win.cpp \ |
|
105 |
painting/qprintengine_win.cpp \ |
|
106 |
painting/qprinterinfo_win.cpp |
|
107 |
||
108 |
!win32-borland:!wince*:LIBS += -lmsimg32 |
|
109 |
} |
|
110 |
||
111 |
embedded { |
|
112 |
HEADERS += \ |
|
113 |
painting/qgraphicssystem_qws_p.h \ |
|
114 |
||
115 |
SOURCES += \ |
|
116 |
painting/qgraphicssystem_qws.cpp \ |
|
117 |
||
118 |
} else { |
|
119 |
HEADERS += \ |
|
120 |
painting/qgraphicssystem_raster_p.h \ |
|
33
3e2da88830cd
Revision: 201031
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
30
diff
changeset
|
121 |
painting/qgraphicssystem_runtime_p.h \ |
0 | 122 |
painting/qgraphicssystemfactory_p.h \ |
123 |
painting/qgraphicssystemplugin_p.h \ |
|
124 |
painting/qwindowsurface_raster_p.h \ |
|
125 |
||
126 |
SOURCES += \ |
|
127 |
painting/qgraphicssystem_raster.cpp \ |
|
33
3e2da88830cd
Revision: 201031
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
30
diff
changeset
|
128 |
painting/qgraphicssystem_runtime.cpp \ |
0 | 129 |
painting/qgraphicssystemfactory.cpp \ |
130 |
painting/qgraphicssystemplugin.cpp \ |
|
131 |
painting/qwindowsurface_raster.cpp \ |
|
132 |
} |
|
133 |
||
134 |
unix:x11 { |
|
135 |
HEADERS += \ |
|
136 |
painting/qpaintengine_x11_p.h |
|
137 |
||
138 |
SOURCES += \ |
|
139 |
painting/qcolormap_x11.cpp \ |
|
140 |
painting/qpaintdevice_x11.cpp \ |
|
141 |
painting/qpaintengine_x11.cpp |
|
142 |
} |
|
143 |
||
144 |
!embedded:!x11:mac { |
|
145 |
HEADERS += \ |
|
146 |
painting/qpaintengine_mac_p.h \ |
|
147 |
painting/qgraphicssystem_mac_p.h \ |
|
148 |
painting/qprintengine_mac_p.h |
|
149 |
||
150 |
SOURCES += \ |
|
151 |
painting/qcolormap_mac.cpp \ |
|
152 |
painting/qpaintdevice_mac.cpp \ |
|
153 |
painting/qpaintengine_mac.cpp \ |
|
154 |
painting/qgraphicssystem_mac.cpp \ |
|
155 |
painting/qprinterinfo_mac.cpp |
|
156 |
OBJECTIVE_SOURCES += \ |
|
157 |
painting/qprintengine_mac.mm \ |
|
158 |
} |
|
159 |
||
160 |
unix:!mac:!symbian { |
|
161 |
HEADERS += \ |
|
162 |
painting/qprinterinfo_unix_p.h |
|
163 |
SOURCES += \ |
|
164 |
painting/qprinterinfo_unix.cpp |
|
165 |
} |
|
166 |
||
167 |
win32|x11|mac|embedded|symbian { |
|
168 |
SOURCES += painting/qbackingstore.cpp |
|
169 |
HEADERS += painting/qbackingstore_p.h |
|
170 |
} |
|
171 |
||
172 |
embedded { |
|
173 |
contains(QT_CONFIG,qtopia) { |
|
174 |
DEFINES += QTOPIA_PRINTENGINE |
|
175 |
HEADERS += painting/qprintengine_qws_p.h |
|
176 |
SOURCES += painting/qprintengine_qws.cpp |
|
177 |
} |
|
178 |
||
179 |
SOURCES += \ |
|
180 |
painting/qcolormap_qws.cpp \ |
|
181 |
painting/qpaintdevice_qws.cpp |
|
182 |
} |
|
183 |
||
184 |
symbian { |
|
185 |
SOURCES += \ |
|
186 |
painting/qpaintengine_s60.cpp \ |
|
187 |
painting/qregion_s60.cpp \ |
|
188 |
painting/qcolormap_s60.cpp |
|
189 |
||
190 |
HEADERS += \ |
|
191 |
painting/qpaintengine_s60_p.h |
|
192 |
} |
|
193 |
||
194 |
x11|embedded { |
|
195 |
contains(QT_CONFIG,qtopia) { |
|
196 |
DEFINES += QT_NO_CUPS QT_NO_LPR |
|
197 |
} else { |
|
198 |
SOURCES += painting/qcups.cpp |
|
199 |
HEADERS += painting/qcups_p.h |
|
200 |
} |
|
201 |
} else { |
|
202 |
DEFINES += QT_NO_CUPS QT_NO_LPR |
|
203 |
} |
|
204 |
||
33
3e2da88830cd
Revision: 201031
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
30
diff
changeset
|
205 |
if(mmx|3dnow|sse|sse2|iwmmxt) { |
0 | 206 |
HEADERS += painting/qdrawhelper_x86_p.h \ |
207 |
painting/qdrawhelper_mmx_p.h \ |
|
33
3e2da88830cd
Revision: 201031
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
30
diff
changeset
|
208 |
painting/qdrawhelper_sse_p.h \ |
3e2da88830cd
Revision: 201031
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
30
diff
changeset
|
209 |
painting/qdrawingprimitive_sse2_p.h |
3e2da88830cd
Revision: 201031
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
30
diff
changeset
|
210 |
MMX_SOURCES += painting/qdrawhelper_mmx.cpp |
3e2da88830cd
Revision: 201031
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
30
diff
changeset
|
211 |
MMX3DNOW_SOURCES += painting/qdrawhelper_mmx3dnow.cpp |
3e2da88830cd
Revision: 201031
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
30
diff
changeset
|
212 |
SSE3DNOW_SOURCES += painting/qdrawhelper_sse3dnow.cpp |
3e2da88830cd
Revision: 201031
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
30
diff
changeset
|
213 |
SSE_SOURCES += painting/qdrawhelper_sse.cpp |
3e2da88830cd
Revision: 201031
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
30
diff
changeset
|
214 |
SSE2_SOURCES += painting/qdrawhelper_sse2.cpp |
3e2da88830cd
Revision: 201031
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
30
diff
changeset
|
215 |
IWMMXT_SOURCES += painting/qdrawhelper_iwmmxt.cpp |
0 | 216 |
} |
217 |
||
218 |
x11 { |
|
219 |
HEADERS += painting/qwindowsurface_x11_p.h |
|
220 |
SOURCES += painting/qwindowsurface_x11.cpp |
|
221 |
} |
|
222 |
||
223 |
mac { |
|
224 |
HEADERS += painting/qwindowsurface_mac_p.h |
|
225 |
SOURCES += painting/qwindowsurface_mac.cpp |
|
226 |
} |
|
227 |
||
228 |
embedded { |
|
229 |
HEADERS += painting/qwindowsurface_qws_p.h |
|
230 |
SOURCES += painting/qwindowsurface_qws.cpp |
|
231 |
} |
|
232 |
||
233 |
||
234 |
||
235 |
symbian { |
|
236 |
HEADERS += painting/qwindowsurface_s60_p.h |
|
237 |
SOURCES += painting/qwindowsurface_s60.cpp |
|
238 |
armccIfdefBlock = \ |
|
239 |
"$${LITERAL_HASH}if defined(ARMV6)" \ |
|
240 |
"SOURCEPATH painting" \ |
|
241 |
"SOURCE qblendfunctions_armv6_rvct.s" \ |
|
242 |
"SOURCE qdrawhelper_armv6_rvct.s" \ |
|
243 |
"$${LITERAL_HASH}endif" |
|
244 |
||
245 |
MMP_RULES += armccIfdefBlock |
|
246 |
QMAKE_CXXFLAGS.ARMCC *= -O3 |
|
247 |
} |
|
248 |
||
30
5dc02b23752f
Revision: 201025
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
18
diff
changeset
|
249 |
neon:*-g++* { |
3
41300fa6a67c
Revision: 201003
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
0
diff
changeset
|
250 |
DEFINES += QT_HAVE_NEON |
41300fa6a67c
Revision: 201003
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
0
diff
changeset
|
251 |
HEADERS += painting/qdrawhelper_neon_p.h |
41300fa6a67c
Revision: 201003
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
0
diff
changeset
|
252 |
SOURCES += painting/qdrawhelper_neon.cpp |
18
2f34d5167611
Revision: 201011
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
3
diff
changeset
|
253 |
QMAKE_CXXFLAGS *= -mfpu=neon |
30
5dc02b23752f
Revision: 201025
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
18
diff
changeset
|
254 |
|
5dc02b23752f
Revision: 201025
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
18
diff
changeset
|
255 |
DRAWHELPER_NEON_ASM_FILES = ../3rdparty/pixman/pixman-arm-neon-asm.S painting/qdrawhelper_neon_asm.S |
5dc02b23752f
Revision: 201025
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
18
diff
changeset
|
256 |
|
5dc02b23752f
Revision: 201025
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
18
diff
changeset
|
257 |
neon_compiler.commands = $$QMAKE_CXX -c |
5dc02b23752f
Revision: 201025
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
18
diff
changeset
|
258 |
neon_compiler.commands += $(CXXFLAGS) $(INCPATH) ${QMAKE_FILE_IN} -o ${QMAKE_FILE_OUT} |
5dc02b23752f
Revision: 201025
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
18
diff
changeset
|
259 |
neon_compiler.dependency_type = TYPE_C |
5dc02b23752f
Revision: 201025
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
18
diff
changeset
|
260 |
neon_compiler.output = ${QMAKE_VAR_OBJECTS_DIR}${QMAKE_FILE_BASE}$${first(QMAKE_EXT_OBJ)} |
5dc02b23752f
Revision: 201025
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
18
diff
changeset
|
261 |
neon_compiler.input = DRAWHELPER_NEON_ASM_FILES |
5dc02b23752f
Revision: 201025
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
18
diff
changeset
|
262 |
neon_compiler.variable_out = OBJECTS |
5dc02b23752f
Revision: 201025
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
18
diff
changeset
|
263 |
neon_compiler.name = compiling[neon] ${QMAKE_FILE_IN} |
5dc02b23752f
Revision: 201025
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
18
diff
changeset
|
264 |
silent:neon_compiler.commands = @echo compiling[neon] ${QMAKE_FILE_IN} && $$neon_compiler.commands |
5dc02b23752f
Revision: 201025
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
18
diff
changeset
|
265 |
QMAKE_EXTRA_COMPILERS += neon_compiler |
3
41300fa6a67c
Revision: 201003
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
0
diff
changeset
|
266 |
} |
41300fa6a67c
Revision: 201003
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
0
diff
changeset
|
267 |
|
33
3e2da88830cd
Revision: 201031
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
30
diff
changeset
|
268 |
include($$PWD/../../3rdparty/zlib_dependency.pri) |