mirror of
https://git.code.sf.net/p/zint/code
synced 2025-06-05 17:14:33 -04:00
qt4 backend
This commit is contained in:
parent
3b96fc9619
commit
9daffeb764
5 changed files with 526 additions and 0 deletions
99
backend_qt4/backend_qt4.pro
Normal file
99
backend_qt4/backend_qt4.pro
Normal file
|
@ -0,0 +1,99 @@
|
|||
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, NO_QR){
|
||||
SOURCES += ../backend/no_qr.c
|
||||
}else{
|
||||
SOURCES += ../backend/qr.c
|
||||
|
||||
contains(DEFINES, QR_SYSTEM){
|
||||
LIBS += -lqrencode
|
||||
}else{
|
||||
|
||||
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 \
|
||||
barcoderender.h
|
||||
|
||||
SOURCES += ../backend/2of5.c \
|
||||
../backend/auspost.c \
|
||||
../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 \
|
||||
barcoderender.cpp
|
||||
|
||||
VERSION = 1.6.0
|
||||
|
||||
#DESTDIR = .
|
||||
|
||||
include.path = $$[ZINT_INSTALL_HEADERS]
|
||||
include.files = ../backend/zint.h barcoderender.h
|
||||
|
||||
target.path = $$[ZINT_INSTALL_LIBS]
|
||||
|
||||
INSTALLS += target include
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue