fix for static build

This commit is contained in:
Syping 2018-08-27 02:09:14 +02:00
parent d8c75c11a2
commit 74d0e57ce0
4 changed files with 10 additions and 0 deletions

View file

@ -20,10 +20,14 @@
#include <QtCore/qglobal.h>
#ifndef LUAENGINEGUI_STATIC
#ifdef LUAENGINEGUI_LIBRARY
#define LUAENGINEGUISHARED_EXPORT Q_DECL_EXPORT
#else
#define LUAENGINEGUISHARED_EXPORT Q_DECL_IMPORT
#endif
#else
#define LUAENGINEGUISHARED_EXPORT
#endif
#endif // LUAENGINEGUI_GLOBAL_H