0
0
mirror of https://github.com/fralx/LimeReport.git synced 2025-09-23 08:29:07 +03:00

Merge branch 'master' into develop

# Conflicts:
#	common.pri
#	limereport.pro
#	limereport/limereport.pro
This commit is contained in:
Arin Alexander
2018-08-06 19:58:56 +03:00
8 changed files with 65 additions and 11 deletions

22
limereport/limereport.prf Normal file
View File

@@ -0,0 +1,22 @@
QT += xml sql script
greaterThan(QT_MAJOR_VERSION, 4) {
QT += widgets printsupport
}
INCLUDEPATH += $$[QT_INSTALL_HEADERS]/LimeReport
CONFIG(debug, debug|release) {
LIB_NAME = limereportd
} else {
LIB_NAME = limereport
}
greaterThan(QT_MAJOR_VERSION, 4) {
LIBS += -l$${LIB_NAME}
} else {
qtAddLibrary($${LIB_NAME})
}
DEFINES += LIMEREPORT
DEFINES -= NO_LIMEREPORT

View File

@@ -33,7 +33,6 @@ contains(CONFIG, staticlib){
}
EXTRA_FILES += \
$$PWD/lrglobal.cpp \
$$PWD/lrglobal.h \
$$PWD/lrdatasourcemanagerintf.h \
$$PWD/lrreportengine.h \
@@ -87,6 +86,19 @@ contains(CONFIG,zint){
}
}
#### Install mkspecs, headers and libs to QT_INSTALL_DIR
headerFiles.path = $$[QT_INSTALL_HEADERS]/LimeReport/
headerFiles.files = $${DEST_INCLUDE_DIR}/*
INSTALLS += headerFiles
mkspecs.path = $$[QT_INSTALL_DATA]/mkspecs/features
mkspecs.files = limereport.prf
INSTALLS += mkspecs
target.path = $$[QT_INSTALL_LIBS]
INSTALLS += target
####Automatically build required translation files (*.qm)
contains(CONFIG,build_translations){