zint-barcode-generator/frontend_qt/frontend_qt.pro
gitlost fef8b083b4 Add text_length (length of text) to zint_symbol, and new
`BARCODE_PLAIN_HRT` option for `output_options` - for use
  primarily by ZXing-C++ but may be generally useful;
  centralize setting of HRT using new common `hrt_cpy_nochk()` etc.
  routines to ensure `text_length` always set
PLESSEY: add show default check characters option
CODE32: ignore `option_2` (check digit options)
PZN: ignore `option_2` (check digit options) except when indicates
  PZN7 only
DPD: exclude DEL from ident tag also
out_maybe_mkdir: fix `utf8_to_wide()` return (Windows only)
general: replace use of `strcpy()` etc. (except for test suite)
  with `memcpy()`, `hrt_()` etc. in lib & `cpy_str()` etc. in CLI
  & `cpy_bytearray_left()` in backend_qt
clang-tidy: update README reflecting above
backend_tcl: use sizeof(primary) to check length; tabs -> spaces
general: various code fiddling
docs: pandoc 3.6.2 -> 3.6.3
2025-02-15 20:32:55 +00:00

98 lines
2.1 KiB
Prolog

TEMPLATE = app
TARGET = qtZint
DEPENDPATH += . debug release
INCLUDEPATH += .
INCLUDEPATH += ../backend
INCLUDEPATH += ../backend_qt
!contains(DEFINES, ZINT_NO_PNG) {
INCLUDEPATH += ../../lpng
INCLUDEPATH += ../../zlib
}
QT += uitools
QT += widgets
QT += svg
# Input
HEADERS += barcodeitem.h \
cliwindow.h \
datawindow.h \
exportwindow.h \
mainwindow.h \
scalewindow.h \
sequencewindow.h
FORMS += extCLI.ui \
extData.ui \
extExport.ui \
extScale.ui \
extSequence.ui \
grpAztec.ui \
grpC11.ui \
grpC128.ui \
grpC16k.ui \
grpC25.ui \
grpC39.ui \
grpC49.ui \
grpC93.ui \
grpChannel.ui \
grpCodabar.ui \
grpCodablockF.ui \
grpCodeOne.ui \
grpDAFT.ui \
grpDBExtend.ui \
grpDM.ui \
grpDotCode.ui \
grpDPD.ui \
grpGrid.ui \
grpHX.ui \
grpITF14.ui \
grpMailmark2D.ui \
grpMaxicode.ui \
grpMicroPDF.ui \
grpMQR.ui \
grpMSICheck.ui \
grpPDF417.ui \
grpPlessey.ui \
grpPZN.ui \
grpQR.ui \
grpRMQR.ui \
grpUltra.ui \
grpUPCA.ui \
grpUPCEAN.ui \
grpUPNQR.ui \
grpVIN.ui \
mainWindow.ui
SOURCES += barcodeitem.cpp \
cliwindow.cpp \
datawindow.cpp \
exportwindow.cpp \
main.cpp \
mainwindow.cpp \
scalewindow.cpp \
sequencewindow.cpp
TRANSLATIONS = frontend_de.ts
RESOURCES += resources.qrc
RC_FILE += res/qtZint.rc
# Static target following http://qt-project.org/wiki/Build_Standalone_Qt_Application_for_Windows
CONFIG += static
CONFIG += warn_on thread qt
LIBS += -lQtZint
QMAKE_LIBDIR += ../backend_qt/release
LIBS += -lQt5Core
QMAKE_LIBDIR += C:/qt/5.15.16static/lib
!contains(DEFINES, ZINT_NO_PNG) {
# Win
win32:LIBS += -llibpng -lzlib
win32:QMAKE_LIBDIR+=../../lpng/ ../../zlib
# Unix
#unix:LIBS += -lpng -zlib
#unix:QMAKE_LIBDIR += /usr/local/lib /usr/lib/x86_64-linux-gnu/
}