Added data entities for shop plugin.
This commit is contained in:
+16
-3
@@ -13,11 +13,16 @@ DEFINES += SHOP_LIBRARY\
|
||||
_GLIBCXX_USE_CXX11_ABI=1
|
||||
|
||||
SOURCES += shop.cpp \
|
||||
data/voucher.cpp
|
||||
data/voucher.cpp \
|
||||
data/voucheritem.cpp
|
||||
|
||||
HEADERS += shop.h\
|
||||
shop_global.h \
|
||||
data/voucher.h
|
||||
data/voucher.h \
|
||||
ishopitem.h \
|
||||
data/voucheritem.h \
|
||||
data/shop-data.h \
|
||||
isellableservice.h
|
||||
|
||||
unix {
|
||||
target.path = /usr/lib
|
||||
@@ -37,12 +42,20 @@ else:unix: LIBS += -L$$OUT_PWD/../core/ -lcore
|
||||
INCLUDEPATH += $$PWD/../core
|
||||
DEPENDPATH += $$PWD/../core
|
||||
|
||||
win32:CONFIG(release, debug|release): LIBS += -L$$OUT_PWD/../plugins/ -laddressbook
|
||||
else:win32:CONFIG(debug, debug|release): LIBS += -L$$OUT_PWD/../plugins/ -laddressbook
|
||||
else:unix: LIBS += -L$$OUT_PWD/../plugins/ -laddressbook
|
||||
|
||||
INCLUDEPATH += $$PWD/../addressbook/data
|
||||
DEPENDPATH += $$PWD/../addressbook
|
||||
|
||||
DESTDIR = ../plugins
|
||||
|
||||
OTHER_FILES += shop.json
|
||||
|
||||
#ODB_FILES = shop/data/....h
|
||||
ODB_FILES = shop/data/shop-data.h
|
||||
H_DIR = $$PWD/data/*.h
|
||||
ODB_OTHER_INCLUDES = -I $$PWD/../addressbook/data
|
||||
include(../odb.pri)
|
||||
|
||||
win32:CONFIG(release, debug|release): LIBS += -L$$OUT_PWD/../qdecimal/lib/ -lqdecimal -ldecnumber
|
||||
|
||||
Reference in New Issue
Block a user