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 } contains(DEFINES, QR){ 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 \ ../backend/qr.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