1
0
mirror of https://git.code.sf.net/p/zint/code synced 2026-01-04 10:47:22 +00:00

Managed to compile qzint with png save support included

This commit is contained in:
Harald Oehlmann
2016-02-28 22:18:58 +01:00
parent 372994d794
commit 922ee489a9
3 changed files with 67 additions and 7 deletions

View File

@@ -19,12 +19,11 @@ TARGET = QtZint
INCLUDEPATH += ../backend
#EDIT THIS !!!!
DEFINES += ZINT_VERSION="\\\"2.3.0\\\"" NO_PNG
DEFINES += ZINT_VERSION="\\\"2.5.0\\\""
!contains(DEFINES, NO_PNG) {
LIBS += -llibpng
INCLUDEPATH += ../../../support/lpng169
QMAKE_LIBDIR+=../../../support/lpng169/projects/visualc71/Win32_LIB_Release ../../../support/lpng169/projects/visualc71/Win32_LIB_Release/ZLib
INCLUDEPATH += ../../lpng
INCLUDEPATH += ../../zlib
}
contains(DEFINES, QR_SYSTEM){
@@ -104,7 +103,7 @@ SOURCES += ../backend/2of5.c \
../backend/png.c \
qzint.cpp
VERSION = 2.3.0
VERSION = 2.5.0
#DESTDIR = .