| 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/qdrawhelper_p.h \
|
|---|
| 95 | painting/qblendfunctions_p.h \
|
|---|
| 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 | os2 {
|
|---|
| 112 | SOURCES += \
|
|---|
| 113 | painting/qcolormap_pm.cpp \
|
|---|
| 114 | painting/qpaintdevice_pm.cpp \
|
|---|
| 115 | painting/qprinterinfo_pm.cpp
|
|---|
| 116 | }
|
|---|
| 117 |
|
|---|
| 118 | embedded {
|
|---|
| 119 | HEADERS += \
|
|---|
| 120 | painting/qgraphicssystem_qws_p.h \
|
|---|
| 121 |
|
|---|
| 122 | SOURCES += \
|
|---|
| 123 | painting/qgraphicssystem_qws.cpp \
|
|---|
| 124 |
|
|---|
| 125 | } else {
|
|---|
| 126 | HEADERS += \
|
|---|
| 127 | painting/qgraphicssystem_raster_p.h \
|
|---|
| 128 | painting/qgraphicssystem_runtime_p.h \
|
|---|
| 129 | painting/qgraphicssystemfactory_p.h \
|
|---|
| 130 | painting/qgraphicssystemplugin_p.h \
|
|---|
| 131 | painting/qwindowsurface_raster_p.h \
|
|---|
| 132 |
|
|---|
| 133 | SOURCES += \
|
|---|
| 134 | painting/qgraphicssystem_raster.cpp \
|
|---|
| 135 | painting/qgraphicssystem_runtime.cpp \
|
|---|
| 136 | painting/qgraphicssystemfactory.cpp \
|
|---|
| 137 | painting/qgraphicssystemplugin.cpp \
|
|---|
| 138 | painting/qwindowsurface_raster.cpp \
|
|---|
| 139 | }
|
|---|
| 140 |
|
|---|
| 141 | unix:x11 {
|
|---|
| 142 | HEADERS += \
|
|---|
| 143 | painting/qpaintengine_x11_p.h
|
|---|
| 144 |
|
|---|
| 145 | SOURCES += \
|
|---|
| 146 | painting/qcolormap_x11.cpp \
|
|---|
| 147 | painting/qpaintdevice_x11.cpp \
|
|---|
| 148 | painting/qpaintengine_x11.cpp
|
|---|
| 149 | }
|
|---|
| 150 |
|
|---|
| 151 | !embedded:!x11:mac {
|
|---|
| 152 | HEADERS += \
|
|---|
| 153 | painting/qpaintengine_mac_p.h \
|
|---|
| 154 | painting/qgraphicssystem_mac_p.h \
|
|---|
| 155 | painting/qprintengine_mac_p.h
|
|---|
| 156 |
|
|---|
| 157 | SOURCES += \
|
|---|
| 158 | painting/qcolormap_mac.cpp \
|
|---|
| 159 | painting/qpaintdevice_mac.cpp \
|
|---|
| 160 | painting/qpaintengine_mac.cpp \
|
|---|
| 161 | painting/qgraphicssystem_mac.cpp \
|
|---|
| 162 | painting/qprinterinfo_mac.cpp
|
|---|
| 163 | OBJECTIVE_SOURCES += \
|
|---|
| 164 | painting/qprintengine_mac.mm \
|
|---|
| 165 | }
|
|---|
| 166 |
|
|---|
| 167 | unix:!mac:!symbian {
|
|---|
| 168 | HEADERS += \
|
|---|
| 169 | painting/qprinterinfo_unix_p.h
|
|---|
| 170 | SOURCES += \
|
|---|
| 171 | painting/qprinterinfo_unix.cpp
|
|---|
| 172 | }
|
|---|
| 173 |
|
|---|
| 174 | win32|os2|x11|mac|embedded|symbian {
|
|---|
| 175 | SOURCES += painting/qbackingstore.cpp
|
|---|
| 176 | HEADERS += painting/qbackingstore_p.h
|
|---|
| 177 | }
|
|---|
| 178 |
|
|---|
| 179 | embedded {
|
|---|
| 180 | contains(QT_CONFIG,qtopia) {
|
|---|
| 181 | DEFINES += QTOPIA_PRINTENGINE
|
|---|
| 182 | HEADERS += painting/qprintengine_qws_p.h
|
|---|
| 183 | SOURCES += painting/qprintengine_qws.cpp
|
|---|
| 184 | }
|
|---|
| 185 |
|
|---|
| 186 | SOURCES += \
|
|---|
| 187 | painting/qcolormap_qws.cpp \
|
|---|
| 188 | painting/qpaintdevice_qws.cpp
|
|---|
| 189 | }
|
|---|
| 190 |
|
|---|
| 191 | symbian {
|
|---|
| 192 | SOURCES += \
|
|---|
| 193 | painting/qpaintengine_s60.cpp \
|
|---|
| 194 | painting/qregion_s60.cpp \
|
|---|
| 195 | painting/qcolormap_s60.cpp
|
|---|
| 196 |
|
|---|
| 197 | HEADERS += \
|
|---|
| 198 | painting/qpaintengine_s60_p.h
|
|---|
| 199 | }
|
|---|
| 200 |
|
|---|
| 201 | x11|embedded|os2 {
|
|---|
| 202 | contains(QT_CONFIG,qtopia) {
|
|---|
| 203 | DEFINES += QT_NO_CUPS QT_NO_LPR
|
|---|
| 204 | } else {
|
|---|
| 205 | SOURCES += painting/qcups.cpp
|
|---|
| 206 | HEADERS += painting/qcups_p.h
|
|---|
| 207 | }
|
|---|
| 208 | os2 {
|
|---|
| 209 | INCLUDEPATH += $$CUPS_INCLUDEPATH
|
|---|
| 210 | LIBS += $$CUPS_LIBS
|
|---|
| 211 | }
|
|---|
| 212 | } else {
|
|---|
| 213 | DEFINES += QT_NO_CUPS QT_NO_LPR
|
|---|
| 214 | }
|
|---|
| 215 |
|
|---|
| 216 | if(mmx|3dnow|sse|sse2|iwmmxt) {
|
|---|
| 217 | HEADERS += painting/qdrawhelper_x86_p.h \
|
|---|
| 218 | painting/qdrawhelper_mmx_p.h \
|
|---|
| 219 | painting/qdrawhelper_sse_p.h \
|
|---|
| 220 | painting/qdrawingprimitive_sse2_p.h
|
|---|
| 221 | MMX_SOURCES += painting/qdrawhelper_mmx.cpp
|
|---|
| 222 | MMX3DNOW_SOURCES += painting/qdrawhelper_mmx3dnow.cpp
|
|---|
| 223 | SSE3DNOW_SOURCES += painting/qdrawhelper_sse3dnow.cpp
|
|---|
| 224 | SSE_SOURCES += painting/qdrawhelper_sse.cpp
|
|---|
| 225 | SSE2_SOURCES += painting/qdrawhelper_sse2.cpp
|
|---|
| 226 | SSSE3_SOURCES += painting/qdrawhelper_ssse3.cpp
|
|---|
| 227 | IWMMXT_SOURCES += painting/qdrawhelper_iwmmxt.cpp
|
|---|
| 228 | }
|
|---|
| 229 |
|
|---|
| 230 | x11 {
|
|---|
| 231 | HEADERS += painting/qwindowsurface_x11_p.h
|
|---|
| 232 | SOURCES += painting/qwindowsurface_x11.cpp
|
|---|
| 233 | }
|
|---|
| 234 |
|
|---|
| 235 | mac {
|
|---|
| 236 | HEADERS += painting/qwindowsurface_mac_p.h
|
|---|
| 237 | SOURCES += painting/qwindowsurface_mac.cpp
|
|---|
| 238 | }
|
|---|
| 239 |
|
|---|
| 240 | embedded {
|
|---|
| 241 | HEADERS += painting/qwindowsurface_qws_p.h
|
|---|
| 242 | SOURCES += painting/qwindowsurface_qws.cpp
|
|---|
| 243 | }
|
|---|
| 244 |
|
|---|
| 245 | os2 {
|
|---|
| 246 | HEADERS += painting/qwindowsurface_pm_p.h
|
|---|
| 247 | SOURCES += painting/qwindowsurface_pm.cpp
|
|---|
| 248 | }
|
|---|
| 249 |
|
|---|
| 250 | symbian {
|
|---|
| 251 | HEADERS += painting/qwindowsurface_s60_p.h \
|
|---|
| 252 | painting/qdrawhelper_arm_simd_p.h
|
|---|
| 253 | SOURCES += painting/qwindowsurface_s60.cpp
|
|---|
| 254 | armccIfdefBlock = \
|
|---|
| 255 | "$${LITERAL_HASH}if defined(ARMV6)" \
|
|---|
| 256 | "MACRO QT_HAVE_ARM_SIMD" \
|
|---|
| 257 | "SOURCEPATH painting" \
|
|---|
| 258 | "SOURCE qdrawhelper_arm_simd.cpp" \
|
|---|
| 259 | "$${LITERAL_HASH}endif"
|
|---|
| 260 |
|
|---|
| 261 | MMP_RULES += armccIfdefBlock
|
|---|
| 262 | QMAKE_CXXFLAGS.ARMCC *= -O3
|
|---|
| 263 | }
|
|---|
| 264 |
|
|---|
| 265 | NEON_SOURCES += painting/qdrawhelper_neon.cpp
|
|---|
| 266 | NEON_HEADERS += painting/qdrawhelper_neon_p.h
|
|---|
| 267 | NEON_ASM += ../3rdparty/pixman/pixman-arm-neon-asm.S painting/qdrawhelper_neon_asm.S
|
|---|
| 268 |
|
|---|
| 269 | include($$PWD/../../3rdparty/zlib_dependency.pri)
|
|---|