mirror of
https://github.com/zint/zint
synced 2024-11-16 20:57:25 +13:00
make qtzint on WIndows: Instructions updated.
Martin provided the attached frontend_qt.pro file which includes the zint library (Thanks !)
This commit is contained in:
parent
62a5ce7345
commit
e9c55847cf
@ -2,6 +2,11 @@ TEMPLATE = app
|
|||||||
TARGET = qtZint
|
TARGET = qtZint
|
||||||
DEPENDPATH += . debug release
|
DEPENDPATH += . debug release
|
||||||
INCLUDEPATH += .
|
INCLUDEPATH += .
|
||||||
|
INCLUDEPATH += ../backend
|
||||||
|
!contains(DEFINES, NO_PNG) {
|
||||||
|
INCLUDEPATH += ../../lpng
|
||||||
|
INCLUDEPATH += ../../zlib
|
||||||
|
}
|
||||||
QT += gui
|
QT += gui
|
||||||
QT += uitools
|
QT += uitools
|
||||||
QT += widgets
|
QT += widgets
|
||||||
@ -13,7 +18,40 @@ HEADERS += barcodeitem.h \
|
|||||||
exportwindow.h \
|
exportwindow.h \
|
||||||
mainwindow.h \
|
mainwindow.h \
|
||||||
sequencewindow.h \
|
sequencewindow.h \
|
||||||
qzint.h
|
qzint.h \
|
||||||
|
..\backend\aztec.h \
|
||||||
|
..\backend\bmp.h \
|
||||||
|
..\backend\channel_precalcs.h \
|
||||||
|
..\backend\code1.h \
|
||||||
|
..\backend\code128.h \
|
||||||
|
..\backend\code49.h \
|
||||||
|
..\backend\common.h \
|
||||||
|
..\backend\composite.h \
|
||||||
|
..\backend\dmatrix.h \
|
||||||
|
..\backend\eci.h \
|
||||||
|
..\backend\emf.h \
|
||||||
|
..\backend\font.h \
|
||||||
|
..\backend\gb18030.h \
|
||||||
|
..\backend\gb2312.h \
|
||||||
|
..\backend\general_field.h \
|
||||||
|
..\backend\gridmtx.h \
|
||||||
|
..\backend\gs1.h \
|
||||||
|
..\backend\hanxin.h \
|
||||||
|
..\backend\large.h \
|
||||||
|
..\backend\maxicode.h \
|
||||||
|
..\backend\ms_stdint.h \
|
||||||
|
..\backend\output.h \
|
||||||
|
..\backend\pcx.h \
|
||||||
|
..\backend\pdf417.h \
|
||||||
|
..\backend\qr.h \
|
||||||
|
..\backend\reedsol.h \
|
||||||
|
..\backend\reedsol_logs.h \
|
||||||
|
..\backend\rss.h \
|
||||||
|
..\backend\sjis.h \
|
||||||
|
..\backend\stdint_msvc.h \
|
||||||
|
..\backend\tif.h \
|
||||||
|
..\backend\zint.h \
|
||||||
|
..\backend\zintconfig.h \
|
||||||
|
|
||||||
FORMS += extData.ui \
|
FORMS += extData.ui \
|
||||||
extExport.ui \
|
extExport.ui \
|
||||||
@ -30,6 +68,7 @@ FORMS += extData.ui \
|
|||||||
grpCodablockF.ui \
|
grpCodablockF.ui \
|
||||||
grpDBExtend.ui \
|
grpDBExtend.ui \
|
||||||
grpDM.ui \
|
grpDM.ui \
|
||||||
|
grpDotCode.ui \
|
||||||
grpGrid.ui \
|
grpGrid.ui \
|
||||||
grpHX.ui \
|
grpHX.ui \
|
||||||
grpLOGMARS.ui \
|
grpLOGMARS.ui \
|
||||||
@ -43,8 +82,7 @@ FORMS += extData.ui \
|
|||||||
grpUPCA.ui \
|
grpUPCA.ui \
|
||||||
grpUPCEAN.ui \
|
grpUPCEAN.ui \
|
||||||
grpVIN.ui \
|
grpVIN.ui \
|
||||||
mainWindow.ui \
|
mainWindow.ui
|
||||||
grpDotCode.ui
|
|
||||||
|
|
||||||
SOURCES += barcodeitem.cpp \
|
SOURCES += barcodeitem.cpp \
|
||||||
datawindow.cpp \
|
datawindow.cpp \
|
||||||
@ -52,7 +90,55 @@ SOURCES += barcodeitem.cpp \
|
|||||||
main.cpp \
|
main.cpp \
|
||||||
mainwindow.cpp \
|
mainwindow.cpp \
|
||||||
sequencewindow.cpp \
|
sequencewindow.cpp \
|
||||||
qzint.cpp
|
qzint.cpp \
|
||||||
|
..\backend\2of5.c \
|
||||||
|
..\backend\auspost.c \
|
||||||
|
..\backend\aztec.c \
|
||||||
|
..\backend\bmp.c \
|
||||||
|
..\backend\codablock.c \
|
||||||
|
..\backend\code.c \
|
||||||
|
..\backend\code1.c \
|
||||||
|
..\backend\code128.c \
|
||||||
|
..\backend\code16k.c \
|
||||||
|
..\backend\code49.c \
|
||||||
|
..\backend\common.c \
|
||||||
|
..\backend\composite.c \
|
||||||
|
..\backend\dllversion.c \
|
||||||
|
..\backend\dmatrix.c \
|
||||||
|
..\backend\dotcode.c \
|
||||||
|
..\backend\eci.c \
|
||||||
|
..\backend\emf.c \
|
||||||
|
..\backend\gb18030.c \
|
||||||
|
..\backend\gb2312.c \
|
||||||
|
..\backend\general_field.c \
|
||||||
|
..\backend\gif.c \
|
||||||
|
..\backend\gridmtx.c \
|
||||||
|
..\backend\gs1.c \
|
||||||
|
..\backend\hanxin.c \
|
||||||
|
..\backend\imail.c \
|
||||||
|
..\backend\large.c \
|
||||||
|
..\backend\library.c \
|
||||||
|
..\backend\mailmark.c \
|
||||||
|
..\backend\maxicode.c \
|
||||||
|
..\backend\medical.c \
|
||||||
|
..\backend\output.c \
|
||||||
|
..\backend\pcx.c \
|
||||||
|
..\backend\pdf417.c \
|
||||||
|
..\backend\plessey.c \
|
||||||
|
..\backend\png.c \
|
||||||
|
..\backend\postal.c \
|
||||||
|
..\backend\ps.c \
|
||||||
|
..\backend\qr.c \
|
||||||
|
..\backend\raster.c \
|
||||||
|
..\backend\reedsol.c \
|
||||||
|
..\backend\rss.c \
|
||||||
|
..\backend\sjis.c \
|
||||||
|
..\backend\svg.c \
|
||||||
|
..\backend\telepen.c \
|
||||||
|
..\backend\tif.c \
|
||||||
|
..\backend\ultra.c \
|
||||||
|
..\backend\upcean.c \
|
||||||
|
..\backend\vector.c
|
||||||
|
|
||||||
TRANSLATIONS = frontend_de.ts
|
TRANSLATIONS = frontend_de.ts
|
||||||
|
|
||||||
@ -68,6 +154,7 @@ CONFIG += warn_on thread qt
|
|||||||
INCLUDEPATH += ../backend
|
INCLUDEPATH += ../backend
|
||||||
|
|
||||||
LIBS += -lQt5Core
|
LIBS += -lQt5Core
|
||||||
|
QMAKE_LIBDIR += C:/qt/5.15.1static/lib
|
||||||
|
|
||||||
!contains(DEFINES, NO_PNG) {
|
!contains(DEFINES, NO_PNG) {
|
||||||
# Win
|
# Win
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
Harald Oehlmann
|
Harald Oehlmann
|
||||||
2017-03-29
|
2020-01-05
|
||||||
|
|
||||||
How to build qzint.exe using:
|
How to build qzint.exe using:
|
||||||
- QT 5.15.0 source package
|
- QT 5.15.0 source package
|
||||||
@ -49,12 +49,7 @@ Build zint:
|
|||||||
- set PATH=C:\Qt\5.15.0static\bin;%PATH%
|
- set PATH=C:\Qt\5.15.0static\bin;%PATH%
|
||||||
- set QMAKESPEC=win32-msvc
|
- set QMAKESPEC=win32-msvc
|
||||||
- cd $ZH
|
- cd $ZH
|
||||||
- cd backend_qt
|
- cd frontend_qt
|
||||||
- qmake backend_qt.pro
|
|
||||||
- nmake clean
|
|
||||||
- nmake release
|
|
||||||
|
|
||||||
- cd ..\frontend_qt
|
|
||||||
- qmake frontend_qt.pro
|
- qmake frontend_qt.pro
|
||||||
- nmake clean
|
- nmake clean
|
||||||
- nmake release
|
- nmake release
|
||||||
|
Loading…
Reference in New Issue
Block a user