diff --git a/demo_r1/mainwindow.cpp b/demo_r1/mainwindow.cpp index bc96811..d695a4e 100644 --- a/demo_r1/mainwindow.cpp +++ b/demo_r1/mainwindow.cpp @@ -33,8 +33,8 @@ #include #include #include -#include "lrreportengine.h" -#include "lrcallbackdatasourceintf.h" +#include +#include #include #include @@ -104,6 +104,8 @@ MainWindow::MainWindow(QWidget *parent) : MainWindow::~MainWindow() { delete ui; + delete m_customers; + delete m_orders; } void MainWindow::on_pushButton_clicked() diff --git a/limereport.pri b/limereport.pri new file mode 100644 index 0000000..a7f272f --- /dev/null +++ b/limereport.pri @@ -0,0 +1,5 @@ +CONFIG += zint +include(./limereport/limereport.pri) +contains(CONFIG, zint){ + include(./qzint.pri) +} diff --git a/limereport/LRCallbackDS b/limereport/LRCallbackDS new file mode 100644 index 0000000..fd5f8c4 --- /dev/null +++ b/limereport/LRCallbackDS @@ -0,0 +1 @@ +#include "lrcallbackdatasourceintf.h" \ No newline at end of file diff --git a/limereport/LRDataManager b/limereport/LRDataManager new file mode 100644 index 0000000..720a2ed --- /dev/null +++ b/limereport/LRDataManager @@ -0,0 +1 @@ +#include "lrdatasourcemanagerintf.h" \ No newline at end of file diff --git a/limereport/LRScriptManager b/limereport/LRScriptManager new file mode 100644 index 0000000..05ab2f8 --- /dev/null +++ b/limereport/LRScriptManager @@ -0,0 +1 @@ +#include "lrscriptenginemanagerintf.h" \ No newline at end of file diff --git a/limereport/LimeReport b/limereport/LimeReport new file mode 100644 index 0000000..037cf8c --- /dev/null +++ b/limereport/LimeReport @@ -0,0 +1 @@ +#include "lrreportengine.h" diff --git a/qzint.pri b/qzint.pri new file mode 100644 index 0000000..51a6a50 --- /dev/null +++ b/qzint.pri @@ -0,0 +1,64 @@ +DEFINES += _CRT_SECURE_NO_WARNINGS _CRT_NONSTDC_NO_WARNINGS ZINT_VERSION=\\\"$$ZINT_VERSION\\\" NO_PNG + +!contains(DEFINES, NO_PNG) { + LIBS += -lpng +} + +INCLUDEPATH += \ + $$ZINT_PATH/backend \ + $$ZINT_PATH/backend_qt4 + +HEADERS += $$ZINT_PATH/backend/aztec.h \ + $$ZINT_PATH/backend/code1.h \ + $$ZINT_PATH/backend/code49.h \ + $$ZINT_PATH/backend/common.h \ + $$ZINT_PATH/backend/composite.h \ + $$ZINT_PATH/backend/dmatrix.h \ + $$ZINT_PATH/backend/font.h \ + $$ZINT_PATH/backend/gb2312.h \ + $$ZINT_PATH/backend/gridmtx.h \ + $$ZINT_PATH/backend/gs1.h \ + $$ZINT_PATH/backend/large.h \ + $$ZINT_PATH/backend/maxicode.h \ + $$ZINT_PATH/backend/maxipng.h \ + $$ZINT_PATH/backend/ms_stdint.h \ + $$ZINT_PATH/backend/pdf417.h \ + $$ZINT_PATH/backend/qr.h \ + $$ZINT_PATH/backend/reedsol.h \ + $$ZINT_PATH/backend/rss.h \ + $$ZINT_PATH/backend/sjis.h \ + $$ZINT_PATH/backend/zint.h \ + $$ZINT_PATH/backend_qt4/qzint.h + +SOURCES += $$ZINT_PATH/backend/2of5.c \ + $$ZINT_PATH/backend/auspost.c \ + $$ZINT_PATH/backend/aztec.c \ + $$ZINT_PATH/backend/code.c \ + $$ZINT_PATH/backend/code1.c \ + $$ZINT_PATH/backend/code128.c \ + $$ZINT_PATH/backend/code16k.c \ + $$ZINT_PATH/backend/code49.c \ + $$ZINT_PATH/backend/common.c \ + $$ZINT_PATH/backend/composite.c \ + $$ZINT_PATH/backend/dmatrix.c \ + $$ZINT_PATH/backend/gridmtx.c \ + $$ZINT_PATH/backend/gs1.c \ + $$ZINT_PATH/backend/imail.c \ + $$ZINT_PATH/backend/large.c \ + $$ZINT_PATH/backend/library.c \ + $$ZINT_PATH/backend/maxicode.c \ + $$ZINT_PATH/backend/medical.c \ + $$ZINT_PATH/backend/pdf417.c \ + $$ZINT_PATH/backend/plessey.c \ + $$ZINT_PATH/backend/postal.c \ + $$ZINT_PATH/backend/ps.c \ + $$ZINT_PATH/backend/qr.c \ + $$ZINT_PATH/backend/reedsol.c \ + $$ZINT_PATH/backend/render.c \ + $$ZINT_PATH/backend/rss.c \ + $$ZINT_PATH/backend/svg.c \ + $$ZINT_PATH/backend/telepen.c \ + $$ZINT_PATH/backend/upcean.c \ + $$ZINT_PATH/backend/dllversion.c \ + $$ZINT_PATH/backend/png.c \ + $$ZINT_PATH/backend_qt4/qzint.cpp