diff options
author | Lars Knoll <lars.knoll@nokia.com> | 2009-03-23 09:34:13 (GMT) |
---|---|---|
committer | Simon Hausmann <simon.hausmann@nokia.com> | 2009-03-23 09:34:13 (GMT) |
commit | 67ad0519fd165acee4a4d2a94fa502e9e4847bd0 (patch) | |
tree | 1dbf50b3dff8d5ca7e9344733968c72704eb15ff /src/gui/image/image.pri | |
download | Qt-67ad0519fd165acee4a4d2a94fa502e9e4847bd0.zip Qt-67ad0519fd165acee4a4d2a94fa502e9e4847bd0.tar.gz Qt-67ad0519fd165acee4a4d2a94fa502e9e4847bd0.tar.bz2 |
Long live Qt!
Diffstat (limited to 'src/gui/image/image.pri')
-rw-r--r-- | src/gui/image/image.pri | 108 |
1 files changed, 108 insertions, 0 deletions
diff --git a/src/gui/image/image.pri b/src/gui/image/image.pri new file mode 100644 index 0000000..ca52974 --- /dev/null +++ b/src/gui/image/image.pri @@ -0,0 +1,108 @@ +# -*-mode:sh-*- +# Qt image handling + +# Qt kernel module + +HEADERS += \ + image/qbitmap.h \ + image/qicon.h \ + image/qiconengine.h \ + image/qiconengineplugin.h \ + image/qimage.h \ + image/qimage_p.h \ + image/qimageiohandler.h \ + image/qimagereader.h \ + image/qimagewriter.h \ + image/qmovie.h \ + image/qnativeimage_p.h \ + image/qpaintengine_pic_p.h \ + image/qpicture.h \ + image/qpicture_p.h \ + image/qpictureformatplugin.h \ + image/qpixmap.h \ + image/qpixmap_raster_p.h \ + image/qpixmapcache.h \ + image/qpixmapdata_p.h \ + image/qpixmapdatafactory_p.h \ + image/qpixmapfilter_p.h + +SOURCES += \ + image/qbitmap.cpp \ + image/qicon.cpp \ + image/qimage.cpp \ + image/qimageiohandler.cpp \ + image/qimagereader.cpp \ + image/qimagewriter.cpp \ + image/qpaintengine_pic.cpp \ + image/qpicture.cpp \ + image/qpictureformatplugin.cpp \ + image/qpixmap.cpp \ + image/qpixmapcache.cpp \ + image/qpixmapdata.cpp \ + image/qpixmapdatafactory.cpp \ + image/qpixmapfilter.cpp \ + image/qiconengine.cpp \ + image/qiconengineplugin.cpp \ + image/qmovie.cpp \ + image/qpixmap_raster.cpp \ + image/qnativeimage.cpp \ + +win32 { + SOURCES += image/qpixmap_win.cpp +} +embedded { + SOURCES += image/qpixmap_qws.cpp +} +x11 { + HEADERS += image/qpixmap_x11_p.h + SOURCES += image/qpixmap_x11.cpp +} +mac { + HEADERS += image/qpixmap_mac_p.h + SOURCES += image/qpixmap_mac.cpp +} + +# Built-in image format support +HEADERS += \ + image/qbmphandler_p.h \ + image/qppmhandler_p.h \ + image/qxbmhandler_p.h \ + image/qxpmhandler_p.h + +SOURCES += \ + image/qbmphandler.cpp \ + image/qppmhandler.cpp \ + image/qxbmhandler.cpp \ + image/qxpmhandler.cpp + +# 3rd party / system PNG support +!contains(QT_CONFIG, no-png) { + HEADERS += image/qpnghandler_p.h + SOURCES += image/qpnghandler.cpp + + contains(QT_CONFIG, system-png) { + unix:LIBS += -lpng + win32:LIBS += libpng.lib + } else { + !isEqual(QT_ARCH, i386):!isEqual(QT_ARCH, x86_64):DEFINES += PNG_NO_ASSEMBLER_CODE + INCLUDEPATH += ../3rdparty/libpng ../3rdparty/zlib + SOURCES += ../3rdparty/libpng/png.c \ + ../3rdparty/libpng/pngerror.c \ + ../3rdparty/libpng/pngget.c \ + ../3rdparty/libpng/pngmem.c \ + ../3rdparty/libpng/pngpread.c \ + ../3rdparty/libpng/pngread.c \ + ../3rdparty/libpng/pngrio.c \ + ../3rdparty/libpng/pngrtran.c \ + ../3rdparty/libpng/pngrutil.c \ + ../3rdparty/libpng/pngset.c \ + ../3rdparty/libpng/pngtrans.c \ + ../3rdparty/libpng/pngwio.c \ + ../3rdparty/libpng/pngwrite.c \ + ../3rdparty/libpng/pngwtran.c \ + ../3rdparty/libpng/pngwutil.c \ + ../3rdparty/libpng/pnggccrd.c + } +} else { + DEFINES *= QT_NO_IMAGEFORMAT_PNG +} |