mirror of
https://github.com/fralx/LimeReport.git
synced 2024-12-24 08:34:38 +03:00
Static build has been fixed
This commit is contained in:
commit
9e5125c8fb
@ -61,7 +61,7 @@ RCC_DIR = $${ARCH_DIR}/$${BUILD_TYPE}/rcc
|
||||
|
||||
LIMEREPORT_VERSION_MAJOR = 1
|
||||
LIMEREPORT_VERSION_MINOR = 4
|
||||
LIMEREPORT_VERSION_RELEASE = 8
|
||||
LIMEREPORT_VERSION_RELEASE = 17
|
||||
|
||||
LIMEREPORT_VERSION = '\\"$${LIMEREPORT_VERSION_MAJOR}.$${LIMEREPORT_VERSION_MINOR}.$${LIMEREPORT_VERSION_RELEASE}\\"'
|
||||
DEFINES += LIMEREPORT_VERSION_STR=\"$${LIMEREPORT_VERSION}\"
|
||||
|
@ -96,7 +96,7 @@ SOURCES += \
|
||||
$$REPORT_PATH/lrsettingdialog.cpp \
|
||||
$$REPORT_PATH/lritemscontainerdesignitf.cpp
|
||||
|
||||
contains(CONFIG, staticbuild){
|
||||
contains(CONFIG, staticlib){
|
||||
SOURCES += $$REPORT_PATH/lrfactoryinitializer.cpp
|
||||
}
|
||||
|
||||
@ -201,7 +201,7 @@ HEADERS += \
|
||||
$$REPORT_PATH/lrpreviewreportwidget_p.h \
|
||||
$$REPORT_PATH/lritemscontainerdesignitf.h
|
||||
|
||||
contains(CONFIG, staticbuild){
|
||||
contains(CONFIG, staticlib){
|
||||
HEADERS += $$REPORT_PATH/lrfactoryinitializer.h
|
||||
}
|
||||
|
||||
|
@ -13,13 +13,12 @@ macx{
|
||||
CONFIG += plugin
|
||||
}
|
||||
|
||||
!staticlib:{
|
||||
DEFINES += LIMEREPORT_EXPORTS
|
||||
}
|
||||
DEFINES += LIMEREPORT_EXPORTS
|
||||
|
||||
staticlib:{
|
||||
contains(CONFIG, staticlib){
|
||||
DEFINES += HAVE_STATIC_BUILD
|
||||
message(STATIC_BUILD)
|
||||
DEFINES -= LIMEREPORT_EXPORTS
|
||||
}
|
||||
|
||||
EXTRA_FILES += \
|
||||
|
@ -1,3 +1,4 @@
|
||||
void initResources();
|
||||
namespace LimeReport{
|
||||
void initReportItems();
|
||||
void initObjectInspectorProperties();
|
||||
|
@ -67,6 +67,7 @@ ReportEnginePrivate::ReportEnginePrivate(QObject *parent) :
|
||||
m_fileWatcher( new QFileSystemWatcher( this ) )
|
||||
{
|
||||
#ifdef HAVE_STATIC_BUILD
|
||||
initResources();
|
||||
initReportItems();
|
||||
initObjectInspectorProperties();
|
||||
initSerializators();
|
||||
|
Loading…
Reference in New Issue
Block a user