Implemented base functionality for commodity grid on shop form.
This commit is contained in:
+12
-2
@@ -20,7 +20,8 @@ SOURCES += commodity.cpp \
|
||||
commoditytablemodel.cpp \
|
||||
commodityform.cpp \
|
||||
commoditygrid.cpp \
|
||||
commoditysettingsform.cpp
|
||||
commoditysettingsform.cpp \
|
||||
commodityservice.cpp
|
||||
|
||||
HEADERS += commodity.h\
|
||||
commodity_global.h \
|
||||
@@ -30,7 +31,8 @@ HEADERS += commodity.h\
|
||||
commoditytablemodel.h \
|
||||
commodityform.h \
|
||||
commoditygrid.h \
|
||||
commoditysettingsform.h
|
||||
commoditysettingsform.h \
|
||||
commodityservice.h
|
||||
|
||||
unix {
|
||||
target.path = /usr/lib
|
||||
@@ -53,6 +55,7 @@ DESTDIR = ../plugins
|
||||
|
||||
ODB_FILES = commodity/data/commodity-data.h
|
||||
H_DIR = $$PWD/data/*.h
|
||||
ODB_OTHER_INCLUDES = -I $$PWD/../shop
|
||||
include(../odb.pri)
|
||||
|
||||
win32:CONFIG(release, debug|release): LIBS += -L$$OUT_PWD/../qdecimal/lib/ -lqdecimal -ldecnumber
|
||||
@@ -73,3 +76,10 @@ FORMS += \
|
||||
RESOURCES += \
|
||||
commodityrc.qrc
|
||||
TRANSLATIONS = translations/commodity_cs_CZ.ts
|
||||
|
||||
win32:CONFIG(release, debug|release): LIBS += -L$$OUT_PWD/../plugins/ -lshop
|
||||
else:win32:CONFIG(debug, debug|release): LIBS += -L$$OUT_PWD/../plugins/ -lshop
|
||||
else:unix: LIBS += -L$$OUT_PWD/../plugins/ -lshop
|
||||
|
||||
INCLUDEPATH += $$PWD/../shop
|
||||
DEPENDPATH += $$PWD/../shop
|
||||
|
||||
Reference in New Issue
Block a user