0
0
mirror of https://github.com/fralx/LimeReport.git synced 2024-12-26 17:38:09 +03:00
LimeReport/3rdparty/zint-2.10.0/backend_qt/backend_qt.pro
Rodrigo Torres 6822ade01b Update Zint
2022-01-26 09:16:57 -03:00

164 lines
4.6 KiB
Prolog

DEFINES += NO_PNG
TEMPLATE = lib
CONFIG(static_build) {
message(Static Build)
CONFIG += staticlib
DEFINES += QZINT_STATIC_BUILD
}
!CONFIG(staticlib) {
CONFIG += dll
DEFINES += QZINT_LIBRARY
}
# My qt is configured for static build:
# http://qt-project.org/wiki/Build_Standalone_Qt_Application_for_Windows
#CONFIG += staticlib
# for dynamic build enable this:
#CONFIG += dll
include(../../../common.pri)
macx{
CONFIG -= dll
CONFIG += lib_bundle
}
unix{
CONFIG += plugin
}
#TARGET = QtZint
INCLUDEPATH += $$PWD/../backend
#EDIT THIS !!!!
DEFINES += ZINT_VERSION="\\\"2.10.0\\\""
CONFIG(release, debug|release) {
TARGET = QtZint
} else {
TARGET = QtZintd
}
!contains(DEFINES, NO_PNG) {
INCLUDEPATH += ../../lpng
INCLUDEPATH += ../../zlib
}
INCLUDEPATH += zint zint/backend zint/backend_qt
HEADERS += $$PWD/../backend/aztec.h \
$$PWD/../backend/big5.h \
$$PWD/../backend/bmp.h \
$$PWD/../backend/channel_precalcs.h \
$$PWD/../backend/code1.h \
$$PWD/../backend/code128.h \
$$PWD/../backend/code49.h \
$$PWD/../backend/common.h \
$$PWD/../backend/composite.h \
$$PWD/../backend/dmatrix.h \
$$PWD/../backend/eci.h \
$$PWD/../backend/eci_sb.h \
$$PWD/../backend/emf.h \
$$PWD/../backend/font.h \
$$PWD/../backend/gb18030.h \
$$PWD/../backend/gb2312.h \
$$PWD/../backend/general_field.h \
$$PWD/../backend/gridmtx.h \
$$PWD/../backend/gs1.h \
$$PWD/../backend/gs1_lint.h \
$$PWD/../backend/hanxin.h \
$$PWD/../backend/iso3166.h \
$$PWD/../backend/iso4217.h \
$$PWD/../backend/ksx1001.h \
$$PWD/../backend/large.h \
$$PWD/../backend/maxicode.h \
$$PWD/../backend/ms_stdint.h \
$$PWD/../backend/output.h \
$$PWD/../backend/pcx.h \
$$PWD/../backend/pdf417.h \
$$PWD/../backend/qr.h \
$$PWD/../backend/reedsol.h \
$$PWD/../backend/reedsol_logs.h \
$$PWD/../backend/rss.h \
$$PWD/../backend/sjis.h \
$$PWD/../backend/stdint_msvc.h \
$$PWD/../backend/tif.h \
$$PWD/../backend/tif_lzw.h \
$$PWD/../backend/zfiletypes.h \
$$PWD/../backend/zintconfig.h \
$$PWD/../backend/zint.h \
$$PWD/qzint.h
SOURCES += $$PWD/../backend/2of5.c \
$$PWD/../backend/auspost.c \
$$PWD/../backend/aztec.c \
$$PWD/../backend/bmp.c \
$$PWD/../backend/codablock.c \
$$PWD/../backend/code.c \
$$PWD/../backend/code1.c \
$$PWD/../backend/code128.c \
$$PWD/../backend/code16k.c \
$$PWD/../backend/code49.c \
$$PWD/../backend/common.c \
$$PWD/../backend/composite.c \
$$PWD/../backend/dmatrix.c \
$$PWD/../backend/dotcode.c \
$$PWD/../backend/eci.c \
$$PWD/../backend/emf.c \
$$PWD/../backend/gb18030.c \
$$PWD/../backend/gb2312.c \
$$PWD/../backend/general_field.c \
$$PWD/../backend/gif.c \
$$PWD/../backend/gridmtx.c \
$$PWD/../backend/gs1.c \
$$PWD/../backend/hanxin.c \
$$PWD/../backend/imail.c \
$$PWD/../backend/large.c \
$$PWD/../backend/library.c \
$$PWD/../backend/mailmark.c \
$$PWD/../backend/maxicode.c \
$$PWD/../backend/medical.c \
$$PWD/../backend/output.c \
$$PWD/../backend/pcx.c \
$$PWD/../backend/pdf417.c \
$$PWD/../backend/plessey.c \
$$PWD/../backend/png.c \
$$PWD/../backend/postal.c \
$$PWD/../backend/ps.c \
$$PWD/../backend/qr.c \
$$PWD/../backend/raster.c \
$$PWD/../backend/reedsol.c \
$$PWD/../backend/rss.c \
$$PWD/../backend/sjis.c \
$$PWD/../backend/svg.c \
$$PWD/../backend/telepen.c \
$$PWD/../backend/tif.c \
$$PWD/../backend/ultra.c \
$$PWD/../backend/upcean.c \
$$PWD/../backend/vector.c \
$$PWD/../backend/dllversion.c \
$$PWD/qzint.cpp
#VERSION = 2.10.0
#DESTDIR = .
DESTDIR = $${DEST_LIBS}
unix {
target.path = $${DESTDIR}
INSTALLS = target
}
#include.path = $$[ZINT_INSTALL_HEADERS]
#include.path = inst/include
#include.files = ../backend/zint.h qzint.h
#target.path = $$[ZINT_INSTALL_LIBS]
#target.path = inst/lib
#INSTALLS += target include