mirror of
https://github.com/python-LimeReport/LimeReport.git
synced 2024-12-23 20:22:58 +03:00
Designer project has been added
Designer project has been added
This commit is contained in:
parent
942dc47b8f
commit
5001738d76
49
designer/designer.pro
Normal file
49
designer/designer.pro
Normal file
@ -0,0 +1,49 @@
|
|||||||
|
include(../common.pri)
|
||||||
|
QT += core gui
|
||||||
|
|
||||||
|
TARGET = LRDesigner
|
||||||
|
TEMPLATE = app
|
||||||
|
|
||||||
|
SOURCES += main.cpp
|
||||||
|
|
||||||
|
INCLUDEPATH += $$PWD/../include
|
||||||
|
DEPENDPATH += $$PWD/../include
|
||||||
|
|
||||||
|
DEST_DIR = $${DEST_BINS}
|
||||||
|
REPORTS_DIR = $${DEST_DIR}
|
||||||
|
|
||||||
|
macx{
|
||||||
|
CONFIG += app_bundle
|
||||||
|
}
|
||||||
|
|
||||||
|
unix:{
|
||||||
|
LIBS += -L$${DEST_LIBS} -llimereport
|
||||||
|
contains(CONFIG,zint){
|
||||||
|
LIBS += -L$${DEST_LIBS} -lQtZint
|
||||||
|
}
|
||||||
|
DESTDIR = $$DEST_DIR
|
||||||
|
linux{
|
||||||
|
#Link share lib to ../lib rpath
|
||||||
|
QMAKE_LFLAGS += -Wl,--rpath=\\\$\$ORIGIN
|
||||||
|
QMAKE_LFLAGS += -Wl,--rpath=\\\$\$ORIGIN/lib
|
||||||
|
QMAKE_LFLAGS += -Wl,--rpath=\\\$\$ORIGIN/../lib
|
||||||
|
QMAKE_LFLAGS_RPATH += #. .. ./libs
|
||||||
|
}
|
||||||
|
target.path = $${DEST_DIR}
|
||||||
|
INSTALLS = target
|
||||||
|
}
|
||||||
|
|
||||||
|
win32 {
|
||||||
|
EXTRA_DIR ~= s,/,\\,g
|
||||||
|
DEST_DIR ~= s,/,\\,g
|
||||||
|
REPORTS_DIR ~= s,/,\\,g
|
||||||
|
|
||||||
|
DESTDIR = $$DEST_DIR
|
||||||
|
RC_FILE += mainicon.rc
|
||||||
|
|
||||||
|
contains(CONFIG,zint){
|
||||||
|
LIBS += -L$${DEST_LIBS} -lQtZint
|
||||||
|
}
|
||||||
|
LIBS += -L$${DEST_LIBS} -llimereport
|
||||||
|
}
|
||||||
|
|
10
designer/main.cpp
Normal file
10
designer/main.cpp
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
#include <QApplication>
|
||||||
|
#include <LimeReport>
|
||||||
|
|
||||||
|
int main(int argc, char *argv[])
|
||||||
|
{
|
||||||
|
QApplication a(argc, argv);
|
||||||
|
LimeReport::ReportEngine report;
|
||||||
|
report.designReport();
|
||||||
|
return a.exec();
|
||||||
|
}
|
BIN
designer/main.ico
Normal file
BIN
designer/main.ico
Normal file
Binary file not shown.
After Width: | Height: | Size: 158 KiB |
1
designer/mainicon.rc
Normal file
1
designer/mainicon.rc
Normal file
@ -0,0 +1 @@
|
|||||||
|
DI_ICON1 ICON "main.ico"
|
@ -9,7 +9,7 @@ SUBDIRS += \
|
|||||||
|
|
||||||
CONFIG += ordered
|
CONFIG += ordered
|
||||||
|
|
||||||
SUBDIRS += demo_r1 demo_r2
|
SUBDIRS += demo_r1 demo_r2 designer
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user