diff options
author | Konstantin Tokarev <annulen@yandex.ru> | 2016-11-08 15:51:03 +0300 |
---|---|---|
committer | Konstantin Tokarev <annulen@yandex.ru> | 2017-02-02 12:31:13 +0000 |
commit | 8f2cfe80a5fb6632b4bbb9181db28f0505058128 (patch) | |
tree | 51ed8e62f4c49597f1b695dcc01137cce0b8a812 /Tools/qmake/projects/qtpng/qtpng.pro | |
parent | 5ae3854f795ac5c1a0f104bd8b66ed6f988181cd (diff) |
Imported WebKit commit 26dda242e41e9b4d348fc3573d86f58b9e8b51b9
Change-Id: I00833927c575184923449ab99c85c46fec94dc19
Reviewed-by: Konstantin Tokarev <annulen@yandex.ru>
Diffstat (limited to 'Tools/qmake/projects/qtpng/qtpng.pro')
-rw-r--r-- | Tools/qmake/projects/qtpng/qtpng.pro | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/Tools/qmake/projects/qtpng/qtpng.pro b/Tools/qmake/projects/qtpng/qtpng.pro new file mode 100644 index 000000000..88b6f9672 --- /dev/null +++ b/Tools/qmake/projects/qtpng/qtpng.pro @@ -0,0 +1,49 @@ +# This file was copied from qtbase/src/3rdparty/libpng/libpng.pro +# in order to build a copy of libqtpng specifically for QtWebKit module +# Must be kept in sync with qtbase + +load(functions) + +TARGET = qtpng + +CONFIG += \ + static \ + hide_symbols \ + exceptions_off rtti_off warn_off \ + installed + +# Poor man's qt_helper_lib +TEMPLATE = lib +CONFIG += staticlib +CONFIG -= qt + +# In debug_and_release build we need only one copy of library, let it be release +debug_and_release { + CONFIG -= debug_and_release debug + CONFIG += release +} + +DESTDIR = $$ROOT_BUILD_DIR/lib +PNGDIR = $$QTBASE_DIR/src/3rdparty/libpng + +DEFINES += PNG_ARM_NEON_OPT=0 +SOURCES += \ + $$PNGDIR/png.c \ + $$PNGDIR/pngerror.c \ + $$PNGDIR/pngget.c \ + $$PNGDIR/pngmem.c \ + $$PNGDIR/pngpread.c \ + $$PNGDIR/pngread.c \ + $$PNGDIR/pngrio.c \ + $$PNGDIR/pngrtran.c \ + $$PNGDIR/pngrutil.c \ + $$PNGDIR/pngset.c \ + $$PNGDIR/pngtrans.c \ + $$PNGDIR/pngwio.c \ + $$PNGDIR/pngwrite.c \ + $$PNGDIR/pngwtran.c \ + $$PNGDIR/pngwutil.c + +TR_EXCLUDE += $$PWD/* + +include($$QTBASE_DIR/src/3rdparty/zlib_dependency.pri) |