2008-07-19 02:48:31 +12:00
|
|
|
TEMPLATE = lib
|
|
|
|
|
|
|
|
CONFIG += dll
|
|
|
|
|
|
|
|
macx{
|
|
|
|
CONFIG -= dll
|
|
|
|
CONFIG += lib_bundle
|
|
|
|
}
|
|
|
|
|
|
|
|
TARGET = QtZint
|
|
|
|
|
|
|
|
INCLUDEPATH += ../backend
|
|
|
|
|
|
|
|
#EDIT THIS !!!!
|
2009-11-18 11:36:04 +13:00
|
|
|
DEFINES += NO_PNG NO_QR ZINT_VERSION="2.3.0"
|
2008-07-19 02:48:31 +12:00
|
|
|
|
|
|
|
!contains(DEFINES, NO_PNG) {
|
|
|
|
SOURCES += ../backend/png.c
|
|
|
|
LIBS += -lpng
|
|
|
|
}
|
|
|
|
|
|
|
|
contains(DEFINES, QR_SYSTEM){
|
|
|
|
LIBS += -lqrencode
|
2008-09-18 05:36:08 +12:00
|
|
|
}
|
|
|
|
|
|
|
|
contains(DEFINES, QR){
|
2008-07-19 02:48:31 +12:00
|
|
|
|
|
|
|
INCLUDEPATH += qrencode
|
|
|
|
|
|
|
|
HEADERS += qrencode/bitstream.h \
|
|
|
|
qrencode/mask.h \
|
|
|
|
qrencode/qrencode.h \
|
|
|
|
qrencode/qrencode_inner.h \
|
|
|
|
qrencode/qrinput.h \
|
|
|
|
qrencode/qrspec.h \
|
|
|
|
qrencode/rscode.h \
|
|
|
|
qrencode/split.h
|
|
|
|
|
|
|
|
SOURCES += qrencode/bitstream.c \
|
|
|
|
qrencode/mask.c \
|
|
|
|
qrencode/qrencode.c \
|
|
|
|
qrencode/qrinput.c \
|
|
|
|
qrencode/qrspec.c \
|
|
|
|
qrencode/rscode.c \
|
|
|
|
qrencode/split.c
|
|
|
|
}
|
|
|
|
|
2008-11-18 21:52:43 +13:00
|
|
|
HEADERS += ../backend/aztec.h \
|
2009-06-06 09:08:09 +12:00
|
|
|
../backend/code49.h \
|
2008-11-18 21:52:43 +13:00
|
|
|
../backend/common.h \
|
2008-07-19 02:48:31 +12:00
|
|
|
../backend/composite.h \
|
|
|
|
../backend/dm200.h \
|
2008-11-18 21:52:43 +13:00
|
|
|
../backend/dmatrix.h \
|
2009-06-06 09:08:09 +12:00
|
|
|
../backend/font.h \
|
|
|
|
../backend/gs1.h \
|
2008-07-19 02:48:31 +12:00
|
|
|
../backend/large.h \
|
|
|
|
../backend/maxicode.h \
|
|
|
|
../backend/maxipng.h \
|
2008-11-18 21:52:43 +13:00
|
|
|
../backend/micqr.h \
|
2008-07-19 02:48:31 +12:00
|
|
|
../backend/pdf417.h \
|
|
|
|
../backend/reedsol.h \
|
|
|
|
../backend/rss.h \
|
2009-06-06 09:08:09 +12:00
|
|
|
../backend/sjis.h \
|
2008-07-19 02:48:31 +12:00
|
|
|
../backend/zint.h \
|
2008-09-19 02:43:54 +12:00
|
|
|
qzint.h
|
2008-07-19 02:48:31 +12:00
|
|
|
|
|
|
|
SOURCES += ../backend/2of5.c \
|
|
|
|
../backend/auspost.c \
|
2008-09-18 06:25:50 +12:00
|
|
|
../backend/aztec.c \
|
|
|
|
../backend/blockf.c \
|
2008-07-19 02:48:31 +12:00
|
|
|
../backend/code.c \
|
|
|
|
../backend/code128.c \
|
|
|
|
../backend/code16k.c \
|
2009-06-06 09:08:09 +12:00
|
|
|
../backend/code49.c \
|
2008-07-19 02:48:31 +12:00
|
|
|
../backend/common.c \
|
|
|
|
../backend/composite.c \
|
|
|
|
../backend/dm200.c \
|
|
|
|
../backend/dmatrix.c \
|
2009-06-06 09:08:09 +12:00
|
|
|
../backend/gs1.c \
|
2008-07-19 02:48:31 +12:00
|
|
|
../backend/imail.c \
|
|
|
|
../backend/large.c \
|
|
|
|
../backend/library.c \
|
|
|
|
../backend/maxicode.c \
|
|
|
|
../backend/medical.c \
|
2008-11-18 21:52:43 +13:00
|
|
|
../backend/micqr.c \
|
2008-07-19 02:48:31 +12:00
|
|
|
../backend/pdf417.c \
|
|
|
|
../backend/plessey.c \
|
|
|
|
../backend/postal.c \
|
|
|
|
../backend/ps.c \
|
|
|
|
../backend/reedsol.c \
|
|
|
|
../backend/rss.c \
|
2009-06-06 09:08:09 +12:00
|
|
|
../backend/svg.c \
|
2008-07-19 02:48:31 +12:00
|
|
|
../backend/telepen.c \
|
|
|
|
../backend/upcean.c \
|
2008-09-18 05:36:08 +12:00
|
|
|
../backend/qr.c \
|
2009-06-06 09:08:09 +12:00
|
|
|
../backend/dllversion.c \
|
2009-07-05 08:48:42 +12:00
|
|
|
../backend/code1.c \
|
2008-09-19 02:43:54 +12:00
|
|
|
qzint.cpp
|
2008-07-19 02:48:31 +12:00
|
|
|
|
2009-11-18 11:36:04 +13:00
|
|
|
VERSION = 2.3.0
|
2008-07-19 02:48:31 +12:00
|
|
|
|
|
|
|
#DESTDIR = .
|
|
|
|
|
|
|
|
include.path = $$[ZINT_INSTALL_HEADERS]
|
2008-09-19 02:43:54 +12:00
|
|
|
include.files = ../backend/zint.h qzint.h
|
2008-07-19 02:48:31 +12:00
|
|
|
|
|
|
|
target.path = $$[ZINT_INSTALL_LIBS]
|
|
|
|
|
|
|
|
INSTALLS += target include
|
|
|
|
|