mirror of
https://github.com/fralx/LimeReport.git
synced 2025-09-23 08:29:07 +03:00
Static build has been fixed.
CONFIG no_zint & static_build flags have been added
This commit is contained in:
@@ -1,9 +1,15 @@
|
||||
TARGET = limereport
|
||||
TEMPLATE = lib
|
||||
|
||||
CONFIG += lib
|
||||
CONFIG += dll
|
||||
#CONFIG += staticlib
|
||||
contains(CONFIG, static_build){
|
||||
CONFIG += staticlib
|
||||
}
|
||||
|
||||
!contains(CONFIG, staticlib){
|
||||
CONFIG += lib
|
||||
CONFIG += dll
|
||||
}
|
||||
|
||||
CONFIG += create_prl
|
||||
CONFIG += link_prl
|
||||
|
||||
|
@@ -39,7 +39,7 @@
|
||||
#include "serializators/lrxmlqrectserializator.h"
|
||||
#include "serializators/lrxmlserializatorsfactory.h"
|
||||
|
||||
inline void initResources(){
|
||||
void initResources(){
|
||||
Q_INIT_RESOURCE(report);
|
||||
Q_INIT_RESOURCE(lobjectinspector);
|
||||
Q_INIT_RESOURCE(lrdatabrowser);
|
||||
@@ -95,9 +95,11 @@ BaseDesignIntf * createTextItem(QObject* owner, LimeReport::BaseDesignIntf* par
|
||||
return new LimeReport::TextItem(owner,parent);
|
||||
}
|
||||
|
||||
#ifdef HAVE_ZINT
|
||||
BaseDesignIntf * createBarcodeItem(QObject* owner, LimeReport::BaseDesignIntf* parent){
|
||||
return new BarcodeItem(owner,parent);
|
||||
}
|
||||
#endif
|
||||
|
||||
BaseDesignIntf* createHLayout(QObject *owner, LimeReport::BaseDesignIntf *parent)
|
||||
{
|
||||
|
Reference in New Issue
Block a user