| 1 | # -*-mode:sh-*-
|
|---|
| 2 | # Qt image handling
|
|---|
| 3 |
|
|---|
| 4 | # Qt kernel module
|
|---|
| 5 |
|
|---|
| 6 | HEADERS += \
|
|---|
| 7 | image/qbitmap.h \
|
|---|
| 8 | image/qicon.h \
|
|---|
| 9 | image/qicon_p.h \
|
|---|
| 10 | image/qiconloader_p.h \
|
|---|
| 11 | image/qiconengine.h \
|
|---|
| 12 | image/qiconengineplugin.h \
|
|---|
| 13 | image/qimage.h \
|
|---|
| 14 | image/qimage_p.h \
|
|---|
| 15 | image/qimageiohandler.h \
|
|---|
| 16 | image/qimagereader.h \
|
|---|
| 17 | image/qimagewriter.h \
|
|---|
| 18 | image/qmovie.h \
|
|---|
| 19 | image/qnativeimage_p.h \
|
|---|
| 20 | image/qpaintengine_pic_p.h \
|
|---|
| 21 | image/qpicture.h \
|
|---|
| 22 | image/qpicture_p.h \
|
|---|
| 23 | image/qpictureformatplugin.h \
|
|---|
| 24 | image/qpixmap.h \
|
|---|
| 25 | image/qpixmap_raster_p.h \
|
|---|
| 26 | image/qpixmapcache.h \
|
|---|
| 27 | image/qpixmapcache_p.h \
|
|---|
| 28 | image/qpixmapdata_p.h \
|
|---|
| 29 | image/qpixmapdatafactory_p.h \
|
|---|
| 30 | image/qpixmapfilter_p.h \
|
|---|
| 31 | image/qimagepixmapcleanuphooks_p.h
|
|---|
| 32 |
|
|---|
| 33 | SOURCES += \
|
|---|
| 34 | image/qbitmap.cpp \
|
|---|
| 35 | image/qicon.cpp \
|
|---|
| 36 | image/qiconloader.cpp \
|
|---|
| 37 | image/qimage.cpp \
|
|---|
| 38 | image/qimageiohandler.cpp \
|
|---|
| 39 | image/qimagereader.cpp \
|
|---|
| 40 | image/qimagewriter.cpp \
|
|---|
| 41 | image/qpaintengine_pic.cpp \
|
|---|
| 42 | image/qpicture.cpp \
|
|---|
| 43 | image/qpictureformatplugin.cpp \
|
|---|
| 44 | image/qpixmap.cpp \
|
|---|
| 45 | image/qpixmapcache.cpp \
|
|---|
| 46 | image/qpixmapdata.cpp \
|
|---|
| 47 | image/qpixmapdatafactory.cpp \
|
|---|
| 48 | image/qpixmapfilter.cpp \
|
|---|
| 49 | image/qiconengine.cpp \
|
|---|
| 50 | image/qiconengineplugin.cpp \
|
|---|
| 51 | image/qmovie.cpp \
|
|---|
| 52 | image/qpixmap_raster.cpp \
|
|---|
| 53 | image/qnativeimage.cpp \
|
|---|
| 54 | image/qimagepixmapcleanuphooks.cpp
|
|---|
| 55 |
|
|---|
| 56 | win32 {
|
|---|
| 57 | SOURCES += image/qpixmap_win.cpp
|
|---|
| 58 | }
|
|---|
| 59 | else:os2 {
|
|---|
| 60 | SOURCES += image/qpixmap_pm.cpp
|
|---|
| 61 | }
|
|---|
| 62 | else:embedded {
|
|---|
| 63 | SOURCES += image/qpixmap_qws.cpp
|
|---|
| 64 | }
|
|---|
| 65 | else:x11 {
|
|---|
| 66 | HEADERS += image/qpixmap_x11_p.h
|
|---|
| 67 | SOURCES += image/qpixmap_x11.cpp
|
|---|
| 68 | }
|
|---|
| 69 | else:mac {
|
|---|
| 70 | HEADERS += image/qpixmap_mac_p.h
|
|---|
| 71 | SOURCES += image/qpixmap_mac.cpp
|
|---|
| 72 | }
|
|---|
| 73 | else:symbian {
|
|---|
| 74 | HEADERS += image/qpixmap_s60_p.h
|
|---|
| 75 | SOURCES += image/qpixmap_s60.cpp
|
|---|
| 76 | }
|
|---|
| 77 |
|
|---|
| 78 | # Built-in image format support
|
|---|
| 79 | HEADERS += \
|
|---|
| 80 | image/qbmphandler_p.h \
|
|---|
| 81 | image/qppmhandler_p.h \
|
|---|
| 82 | image/qxbmhandler_p.h \
|
|---|
| 83 | image/qxpmhandler_p.h
|
|---|
| 84 |
|
|---|
| 85 | SOURCES += \
|
|---|
| 86 | image/qbmphandler.cpp \
|
|---|
| 87 | image/qppmhandler.cpp \
|
|---|
| 88 | image/qxbmhandler.cpp \
|
|---|
| 89 | image/qxpmhandler.cpp
|
|---|
| 90 |
|
|---|
| 91 | !contains(QT_CONFIG, no-png):include($$PWD/qpnghandler.pri)
|
|---|
| 92 | else:DEFINES *= QT_NO_IMAGEFORMAT_PNG
|
|---|
| 93 |
|
|---|
| 94 | contains(QT_CONFIG, jpeg):include($$PWD/qjpeghandler.pri)
|
|---|
| 95 | contains(QT_CONFIG, mng):include($$PWD/qmnghandler.pri)
|
|---|
| 96 | contains(QT_CONFIG, tiff):include($$PWD/qtiffhandler.pri)
|
|---|
| 97 | contains(QT_CONFIG, gif):include($$PWD/qgifhandler.pri)
|
|---|
| 98 |
|
|---|
| 99 | # SIMD
|
|---|
| 100 | NEON_SOURCES += image/qimage_neon.cpp
|
|---|
| 101 | SSE2_SOURCES += image/qimage_sse2.cpp
|
|---|
| 102 | SSSE3_SOURCES += image/qimage_ssse3.cpp
|
|---|