author | William Roberts <williamr@symbian.org> |
Thu, 22 Jul 2010 16:41:55 +0100 | |
branch | GCC_SURGE |
changeset 31 | 5daf16870df6 |
parent 30 | 5dc02b23752f |
child 33 | 3e2da88830cd |
permissions | -rw-r--r-- |
0 | 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 |
||
34 |
SOURCES += \ |
|
35 |
image/qbitmap.cpp \ |
|
36 |
image/qicon.cpp \ |
|
37 |
image/qiconloader.cpp \ |
|
38 |
image/qimage.cpp \ |
|
39 |
image/qimageiohandler.cpp \ |
|
40 |
image/qimagereader.cpp \ |
|
41 |
image/qimagewriter.cpp \ |
|
42 |
image/qpaintengine_pic.cpp \ |
|
43 |
image/qpicture.cpp \ |
|
44 |
image/qpictureformatplugin.cpp \ |
|
45 |
image/qpixmap.cpp \ |
|
46 |
image/qpixmapcache.cpp \ |
|
47 |
image/qpixmapdata.cpp \ |
|
48 |
image/qpixmapdatafactory.cpp \ |
|
49 |
image/qpixmapfilter.cpp \ |
|
50 |
image/qiconengine.cpp \ |
|
51 |
image/qiconengineplugin.cpp \ |
|
52 |
image/qmovie.cpp \ |
|
53 |
image/qpixmap_raster.cpp \ |
|
54 |
image/qnativeimage.cpp \ |
|
55 |
image/qimagepixmapcleanuphooks.cpp \ |
|
56 |
||
57 |
||
58 |
win32 { |
|
59 |
SOURCES += image/qpixmap_win.cpp |
|
60 |
} |
|
61 |
embedded { |
|
62 |
SOURCES += image/qpixmap_qws.cpp |
|
63 |
} |
|
64 |
x11 { |
|
65 |
HEADERS += image/qpixmap_x11_p.h |
|
66 |
SOURCES += image/qpixmap_x11.cpp |
|
67 |
} |
|
68 |
mac { |
|
69 |
HEADERS += image/qpixmap_mac_p.h |
|
70 |
SOURCES += image/qpixmap_mac.cpp |
|
71 |
} |
|
72 |
symbian { |
|
73 |
HEADERS += image/qpixmap_s60_p.h |
|
74 |
SOURCES += image/qpixmap_s60.cpp |
|
75 |
} |
|
76 |
||
77 |
# Built-in image format support |
|
78 |
HEADERS += \ |
|
79 |
image/qbmphandler_p.h \ |
|
80 |
image/qppmhandler_p.h \ |
|
81 |
image/qxbmhandler_p.h \ |
|
82 |
image/qxpmhandler_p.h |
|
83 |
||
84 |
SOURCES += \ |
|
85 |
image/qbmphandler.cpp \ |
|
86 |
image/qppmhandler.cpp \ |
|
87 |
image/qxbmhandler.cpp \ |
|
88 |
image/qxpmhandler.cpp |
|
89 |
||
90 |
# 3rd party / system PNG support |
|
91 |
!contains(QT_CONFIG, no-png) { |
|
92 |
HEADERS += image/qpnghandler_p.h |
|
93 |
SOURCES += image/qpnghandler.cpp |
|
94 |
||
95 |
contains(QT_CONFIG, system-png) { |
|
96 |
unix:LIBS_PRIVATE += -lpng |
|
97 |
win32:LIBS += libpng.lib |
|
98 |
} else { |
|
30
5dc02b23752f
Revision: 201025
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
0
diff
changeset
|
99 |
DEFINES *= QT_USE_BUNDLED_LIBPNG |
0 | 100 |
!isEqual(QT_ARCH, i386):!isEqual(QT_ARCH, x86_64):DEFINES += PNG_NO_ASSEMBLER_CODE |
101 |
INCLUDEPATH += ../3rdparty/libpng ../3rdparty/zlib |
|
102 |
SOURCES += ../3rdparty/libpng/png.c \ |
|
103 |
../3rdparty/libpng/pngerror.c \ |
|
104 |
../3rdparty/libpng/pngget.c \ |
|
105 |
../3rdparty/libpng/pngmem.c \ |
|
106 |
../3rdparty/libpng/pngpread.c \ |
|
107 |
../3rdparty/libpng/pngread.c \ |
|
108 |
../3rdparty/libpng/pngrio.c \ |
|
109 |
../3rdparty/libpng/pngrtran.c \ |
|
110 |
../3rdparty/libpng/pngrutil.c \ |
|
111 |
../3rdparty/libpng/pngset.c \ |
|
112 |
../3rdparty/libpng/pngtrans.c \ |
|
113 |
../3rdparty/libpng/pngwio.c \ |
|
114 |
../3rdparty/libpng/pngwrite.c \ |
|
115 |
../3rdparty/libpng/pngwtran.c \ |
|
30
5dc02b23752f
Revision: 201025
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
0
diff
changeset
|
116 |
../3rdparty/libpng/pngwutil.c |
0 | 117 |
} |
118 |
} else { |
|
119 |
DEFINES *= QT_NO_IMAGEFORMAT_PNG |
|
120 |
} |