mirror of
https://github.com/fralx/LimeReport.git
synced 2024-12-23 08:12:58 +03:00
qzint build has been fixed
This commit is contained in:
parent
87bfa3a170
commit
088a6eadce
@ -4,7 +4,7 @@ TEMPLATE = lib
|
||||
contains(CONFIG, static_build){
|
||||
message(Static Build)
|
||||
CONFIG += staticlib
|
||||
DEFINES += HAVE_STATIC_BUILD
|
||||
DEFINES += QZINT_STATIC_BUILD
|
||||
}
|
||||
|
||||
!contains(CONFIG, staticlib){
|
||||
|
@ -3,14 +3,12 @@
|
||||
|
||||
#include <QtCore/qglobal.h>
|
||||
|
||||
#ifdef HAVE_STATIC_BUILD
|
||||
#ifdef QZINT_STATIC_BUILD
|
||||
# define QZINTSHARED_EXPORT /**/
|
||||
#else
|
||||
#if defined(QZINT_LIBRARY)
|
||||
#elif QZINT_LIBRARY
|
||||
# define QZINTSHARED_EXPORT Q_DECL_EXPORT
|
||||
#else
|
||||
# define QZINTSHARED_EXPORT Q_DECL_IMPORT
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#endif // QZINT_GLOBAL_H
|
||||
|
@ -1,5 +1,6 @@
|
||||
CONFIG += zint
|
||||
include(./limereport/limereport.pri)
|
||||
contains(CONFIG, zint){
|
||||
DEFINES+=QZINT_STATIC_BUILD
|
||||
include(./qzint.pri)
|
||||
}
|
||||
|
@ -28,6 +28,7 @@ DEFINES += LIMEREPORT_EXPORTS
|
||||
|
||||
contains(CONFIG, staticlib){
|
||||
DEFINES += HAVE_STATIC_BUILD
|
||||
DEFINES += QZINT_STATIC_BUILD
|
||||
message(STATIC_BUILD)
|
||||
DEFINES -= LIMEREPORT_EXPORTS
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user