mirror of
https://github.com/fralx/LimeReport.git
synced 2024-12-24 00:33:02 +03:00
Install binary and header files to Qt installation dir
This commit is contained in:
parent
384368dd38
commit
169c8bbf9c
22
limereport/limereport.prf
Normal file
22
limereport/limereport.prf
Normal 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
|
@ -37,7 +37,6 @@ contains(CONFIG, staticlib){
|
|||||||
}
|
}
|
||||||
|
|
||||||
EXTRA_FILES += \
|
EXTRA_FILES += \
|
||||||
$$PWD/lrglobal.cpp \
|
|
||||||
$$PWD/lrglobal.h \
|
$$PWD/lrglobal.h \
|
||||||
$$PWD/lrdatasourcemanagerintf.h \
|
$$PWD/lrdatasourcemanagerintf.h \
|
||||||
$$PWD/lrreportengine.h \
|
$$PWD/lrreportengine.h \
|
||||||
@ -92,6 +91,20 @@ 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)
|
####Automatically build required translation files (*.qm)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user