summaryrefslogtreecommitdiffstats
path: root/Tools/qmake/projects/qtpng/qtpng.pro
blob: 349034c56807b38f538c05122e46b82cd4d6d2d2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# 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

load(qt_helper_lib)

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)