• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1CONFIG -= qt
2
3TEMPLATE = lib
4CONFIG += c++11
5
6# The following define makes your compiler emit warnings if you use
7# any Qt feature that has been marked deprecated (the exact warnings
8# depend on your compiler). Please consult the documentation of the
9# deprecated API in order to know how to port your code away from it.
10DEFINES += QT_DEPRECATED_WARNINGS
11
12# You can also make your code fail to compile if it uses deprecated APIs.
13# In order to do so, uncomment the following line.
14# You can also select to disable deprecated APIs only up to a certain version of Qt.
15#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000    # disables all the APIs deprecated before Qt 6.0.0
16
17DESTDIR = ../../libs
18
19SOURCES += \
20    ../../../../../../../../third_party/libpng/png.c \
21    ../../../../../../../../third_party/libpng/pngerror.c \
22    ../../../../../../../../third_party/libpng/pngget.c \
23    ../../../../../../../../third_party/libpng/pngmem.c \
24    ../../../../../../../../third_party/libpng/pngpread.c \
25    ../../../../../../../../third_party/libpng/pngread.c \
26    ../../../../../../../../third_party/libpng/pngrio.c \
27    ../../../../../../../../third_party/libpng/pngrtran.c \
28    ../../../../../../../../third_party/libpng/pngrutil.c \
29    ../../../../../../../../third_party/libpng/pngset.c \
30    ../../../../../../../../third_party/libpng/pngtrans.c \
31    ../../../../../../../../third_party/libpng/pngwio.c \
32    ../../../../../../../../third_party/libpng/pngwrite.c \
33    ../../../../../../../../third_party/libpng/pngwtran.c \
34    ../../../../../../../../third_party/libpng/pngwutil.c
35
36INCLUDEPATH += \
37    ../../../../../../../../third_party/libpng \
38    ../../../../../../../../third_party/zlib
39
40LIBS += $${DESTDIR}/zlib.dll
41