2015-08-18 23:50:42 +12:00
|
|
|
|
2008-07-19 02:48:31 +12:00
|
|
|
TEMPLATE = lib
|
|
|
|
|
2015-08-18 23:50:42 +12:00
|
|
|
|
|
|
|
# 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
|
2008-07-19 02:48:31 +12:00
|
|
|
|
|
|
|
macx{
|
|
|
|
CONFIG -= dll
|
|
|
|
CONFIG += lib_bundle
|
|
|
|
}
|
|
|
|
|
|
|
|
TARGET = QtZint
|
|
|
|
|
|
|
|
INCLUDEPATH += ../backend
|
|
|
|
|
|
|
|
#EDIT THIS !!!!
|
2016-02-29 10:18:58 +13:00
|
|
|
DEFINES += ZINT_VERSION="\\\"2.5.0\\\""
|
2008-07-19 02:48:31 +12:00
|
|
|
|
|
|
|
!contains(DEFINES, NO_PNG) {
|
2016-02-29 10:18:58 +13:00
|
|
|
INCLUDEPATH += ../../lpng
|
|
|
|
INCLUDEPATH += ../../zlib
|
2008-07-19 02:48:31 +12:00
|
|
|
}
|
|
|
|
|
|
|
|
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 \
|
2016-07-28 20:32:46 +12:00
|
|
|
../backend/bmp.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 \
|
2008-11-18 21:52:43 +13:00
|
|
|
../backend/dmatrix.h \
|
2016-09-13 02:41:19 +12:00
|
|
|
../backend/eci.h \
|
2009-06-06 09:08:09 +12:00
|
|
|
../backend/font.h \
|
2015-08-18 23:50:42 +12:00
|
|
|
../backend/gridmtx.h \
|
2009-06-06 09:08:09 +12:00
|
|
|
../backend/gs1.h \
|
2016-07-04 23:53:52 +12:00
|
|
|
../backend/hanxin.h \
|
2008-07-19 02:48:31 +12:00
|
|
|
../backend/large.h \
|
|
|
|
../backend/maxicode.h \
|
2016-07-28 20:32:46 +12:00
|
|
|
../backend/pcx.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 \
|
2016-07-28 20:32:46 +12:00
|
|
|
../backend/stdint_msvc.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 \
|
2016-07-28 20:32:46 +12:00
|
|
|
../backend/bmp.c \
|
2016-09-13 02:41:19 +12:00
|
|
|
../backend/codablock.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/dmatrix.c \
|
2016-09-13 02:41:19 +12:00
|
|
|
../backend/dotcode.c \
|
|
|
|
../backend/eci.c \
|
2016-07-29 06:58:33 +12:00
|
|
|
../backend/gif.c \
|
2015-08-18 23:50:42 +12:00
|
|
|
../backend/gridmtx.c \
|
2009-06-06 09:08:09 +12:00
|
|
|
../backend/gs1.c \
|
2016-07-04 23:53:52 +12:00
|
|
|
../backend/hanxin.c \
|
2008-07-19 02:48:31 +12:00
|
|
|
../backend/imail.c \
|
|
|
|
../backend/large.c \
|
|
|
|
../backend/library.c \
|
|
|
|
../backend/maxicode.c \
|
|
|
|
../backend/medical.c \
|
2016-07-28 20:32:46 +12:00
|
|
|
../backend/pcx.c \
|
2008-07-19 02:48:31 +12:00
|
|
|
../backend/pdf417.c \
|
|
|
|
../backend/plessey.c \
|
|
|
|
../backend/postal.c \
|
|
|
|
../backend/ps.c \
|
2016-07-28 20:32:46 +12:00
|
|
|
../backend/raster.c \
|
2008-07-19 02:48:31 +12:00
|
|
|
../backend/reedsol.c \
|
2015-08-18 23:50:42 +12:00
|
|
|
../backend/render.c \
|
2008-07-19 02:48:31 +12:00
|
|
|
../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 \
|
2015-08-18 23:50:42 +12:00
|
|
|
../backend/png.c \
|
2008-09-19 02:43:54 +12:00
|
|
|
qzint.cpp
|
2008-07-19 02:48:31 +12:00
|
|
|
|
2016-02-29 10:18:58 +13:00
|
|
|
VERSION = 2.5.0
|
2008-07-19 02:48:31 +12:00
|
|
|
|
|
|
|
#DESTDIR = .
|
|
|
|
|
2015-08-18 23:50:42 +12:00
|
|
|
#include.path = $$[ZINT_INSTALL_HEADERS]
|
|
|
|
include.path = inst/include
|
2008-09-19 02:43:54 +12:00
|
|
|
include.files = ../backend/zint.h qzint.h
|
2008-07-19 02:48:31 +12:00
|
|
|
|
2015-08-18 23:50:42 +12:00
|
|
|
#target.path = $$[ZINT_INSTALL_LIBS]
|
|
|
|
target.path = inst/lib
|
2008-07-19 02:48:31 +12:00
|
|
|
|
|
|
|
INSTALLS += target include
|
|
|
|
|