static builds should be fixed

This commit is contained in:
Syping 2018-08-28 03:23:30 +02:00
parent 74d0e57ce0
commit 6801690c28
5 changed files with 7 additions and 7 deletions

View file

@ -20,7 +20,7 @@
#include <QtCore/qglobal.h>
#ifndef LUAENGINEGUI_STATIC
#ifndef LUAENGINE_STATIC
#ifdef LUAENGINEGUI_LIBRARY
#define LUAENGINEGUISHARED_EXPORT Q_DECL_EXPORT
#else

View file

@ -16,13 +16,12 @@
#*****************************************************************************/
QT += core network gui widgets
CONFIG += c++11
TARGET = luaenginegui
TEMPLATE = lib
CONFIG += c++11
DEFINES += LUAENGINEGUI_LIBRARY
static: DEFINES += LUAENGINEGUI_STATIC
static: DEFINES += LUAENGINE_STATIC
CONFIG(debug, debug|release): win32: LIBS += -L$$OUT_PWD/../luaengine/debug -lluaengine
CONFIG(release, debug|release): win32: LIBS += -L$$OUT_PWD/../luaengine/release -lluaengine