diff options
author | Mark Brand <mabrand@mabrand.nl> | 2010-07-02 16:30:31 (GMT) |
---|---|---|
committer | Oswald Buddenhagen <oswald.buddenhagen@nokia.com> | 2010-07-02 16:30:31 (GMT) |
commit | 51ba8332385f3abceae88ec0a7ae29ac1e875a5c (patch) | |
tree | 930c27ea6f4194bf9bc8429bfad3a5687b2653f8 /src/3rdparty/libpng.pri | |
parent | d20dcfd98602a4505624e48a64aa58c54ef65852 (diff) | |
download | Qt-51ba8332385f3abceae88ec0a7ae29ac1e875a5c.zip Qt-51ba8332385f3abceae88ec0a7ae29ac1e875a5c.tar.gz Qt-51ba8332385f3abceae88ec0a7ae29ac1e875a5c.tar.bz2 |
Split image handler plugin project files
One pri for each handler, e.g. src/gui/image/qjpeghandler.pri.
One pri for each 3rd party package, e.g src/3rdparty/libjpeg.pri.
One shared pri for zlib dependency of 3rd party packages.
This was really about image handler plugins, but PNG got the
same treatment for consistency's sake.
Also, moved image handler source files from plugins to src/gui/image
so they are with the other image handlers.
Merge-request: 715
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
Diffstat (limited to 'src/3rdparty/libpng.pri')
-rw-r--r-- | src/3rdparty/libpng.pri | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/src/3rdparty/libpng.pri b/src/3rdparty/libpng.pri new file mode 100644 index 0000000..7ac1910 --- /dev/null +++ b/src/3rdparty/libpng.pri @@ -0,0 +1,20 @@ +DEFINES *= QT_USE_BUNDLED_LIBPNG +!isEqual(QT_ARCH, i386):!isEqual(QT_ARCH, x86_64):DEFINES += PNG_NO_ASSEMBLER_CODE +INCLUDEPATH += $$PWD/libpng +SOURCES += $$PWD/libpng/png.c \ + $$PWD/libpng/pngerror.c \ + $$PWD/libpng/pngget.c \ + $$PWD/libpng/pngmem.c \ + $$PWD/libpng/pngpread.c \ + $$PWD/libpng/pngread.c \ + $$PWD/libpng/pngrio.c \ + $$PWD/libpng/pngrtran.c \ + $$PWD/libpng/pngrutil.c \ + $$PWD/libpng/pngset.c \ + $$PWD/libpng/pngtrans.c \ + $$PWD/libpng/pngwio.c \ + $$PWD/libpng/pngwrite.c \ + $$PWD/libpng/pngwtran.c \ + $$PWD/libpng/pngwutil.c + +include($$PWD/zlib_dependency.pri) |