1
0
mirror of https://git.code.sf.net/p/zint/code synced 2026-01-06 03:27:30 +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

@@ -7,7 +7,6 @@ TEMPLATE = app
TARGET = qtZint
DEPENDPATH += . debug release
INCLUDEPATH += .
DEFINES += NO_PNG
# Input
HEADERS += barcodeitem.h \
@@ -56,4 +55,11 @@ CONFIG += warn_on thread qt uitools
INCLUDEPATH += ../backend_qt4 ../backend
LIBS += -lqtzint -lQtCore
QMAKE_LIBDIR += ../backend_qt4/release
QMAKE_LIBDIR += ../backend_qt4/release
!contains(DEFINES, NO_PNG) {
LIBS += -llibpng -lzlib
QMAKE_LIBDIR+=../../lpng\projects\visualc71_converted_to_9\Win32_LIB_Release ../../lpng\projects\visualc71_converted_to_9\Win32_LIB_Release\zlib
# LIBS += -llibpng16 -lzlib1
# QMAKE_LIBDIR+=../../lpng\projects\visualc71_converted_to_9\Win32_DLL_Release ../../lpng\projects\visualc71_converted_to_9\Win32_DLL_Release\zlib
}