zint/backend_qt4/backend_qt4.pro

127 lines
3.0 KiB
Prolog
Raw Normal View History

2008-07-19 02:48:31 +12:00
TEMPLATE = lib
# 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 !!!!
DEFINES += ZINT_VERSION="\\\"2.5.0\\\""
2008-07-19 02:48:31 +12:00
!contains(DEFINES, NO_PNG) {
INCLUDEPATH += ../../lpng
INCLUDEPATH += ../../zlib
2008-07-19 02:48:31 +12:00
}
contains(DEFINES, QR_SYSTEM){
LIBS += -lqrencode
}
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 \
../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 \
2009-06-06 09:08:09 +12:00
../backend/font.h \
../backend/gridmtx.h \
2009-06-06 09:08:09 +12:00
../backend/gs1.h \
../backend/hanxin.h \
2008-07-19 02:48:31 +12:00
../backend/large.h \
../backend/maxicode.h \
../backend/maxihex.h \
../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 \
../backend/stdint_msvc.h \
2008-07-19 02:48:31 +12:00
../backend/zint.h \
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/bmp.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 \
../backend/gridmtx.c \
2009-06-06 09:08:09 +12:00
../backend/gs1.c \
../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 \
../backend/pcx.c \
2008-07-19 02:48:31 +12:00
../backend/pdf417.c \
../backend/plessey.c \
../backend/postal.c \
../backend/ps.c \
../backend/raster.c \
2008-07-19 02:48:31 +12:00
../backend/reedsol.c \
../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 \
../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 \
../backend/png.c \
qzint.cpp
2008-07-19 02:48:31 +12:00
VERSION = 2.5.0
2008-07-19 02:48:31 +12:00
#DESTDIR = .
#include.path = $$[ZINT_INSTALL_HEADERS]
include.path = inst/include
include.files = ../backend/zint.h qzint.h
2008-07-19 02:48:31 +12:00
#target.path = $$[ZINT_INSTALL_LIBS]
target.path = inst/lib
2008-07-19 02:48:31 +12:00
INSTALLS += target include