2008-07-19 02:48:31 +12:00
|
|
|
TEMPLATE = lib
|
|
|
|
|
|
|
|
CONFIG += dll
|
|
|
|
|
|
|
|
macx{
|
|
|
|
CONFIG -= dll
|
|
|
|
CONFIG += lib_bundle
|
|
|
|
}
|
|
|
|
|
|
|
|
TARGET = QtZint
|
|
|
|
|
|
|
|
INCLUDEPATH += ../backend
|
|
|
|
|
|
|
|
#EDIT THIS !!!!
|
|
|
|
DEFINES += NO_PNG NO_QR
|
|
|
|
|
|
|
|
!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
|
|
|
|
}
|
|
|
|
|
|
|
|
HEADERS += ../backend/common.h \
|
|
|
|
../backend/composite.h \
|
|
|
|
../backend/dm200.h \
|
|
|
|
../backend/large.h \
|
|
|
|
../backend/maxicode.h \
|
|
|
|
../backend/maxipng.h \
|
|
|
|
../backend/pdf417.h \
|
|
|
|
../backend/reedsol.h \
|
|
|
|
../backend/rss.h \
|
|
|
|
../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 \
|
|
|
|
../backend/common.c \
|
|
|
|
../backend/composite.c \
|
|
|
|
../backend/dm200.c \
|
|
|
|
../backend/dmatrix.c \
|
|
|
|
../backend/imail.c \
|
|
|
|
../backend/large.c \
|
|
|
|
../backend/library.c \
|
|
|
|
../backend/maxicode.c \
|
|
|
|
../backend/medical.c \
|
|
|
|
../backend/pdf417.c \
|
|
|
|
../backend/plessey.c \
|
|
|
|
../backend/postal.c \
|
|
|
|
../backend/ps.c \
|
|
|
|
../backend/reedsol.c \
|
|
|
|
../backend/rss.c \
|
|
|
|
../backend/telepen.c \
|
|
|
|
../backend/upcean.c \
|
2008-09-18 05:36:08 +12:00
|
|
|
../backend/qr.c \
|
2008-09-19 02:43:54 +12:00
|
|
|
qzint.cpp
|
2008-07-19 02:48:31 +12:00
|
|
|
|
|
|
|
VERSION = 1.6.0
|
|
|
|
|
|
|
|
#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
|
|
|
|
|