Fixed build on MS VS2010. Improved includes in data classes.

This commit is contained in:
2015-11-11 12:23:32 +01:00
parent 1439502c20
commit 1264b2547a
8 changed files with 34 additions and 19 deletions
+6 -4
View File
@@ -16,7 +16,7 @@ SOURCES += \
context.cpp \
imetadataplugin.cpp \
transaction.cpp \
emptystringvalidator.cpp
emptystringvalidator.cpp \
data/role.cpp \
data/permission.cpp
@@ -31,15 +31,17 @@ HEADERS += core.h\
autoform.h \
transaction.h \
ivalidator.h \
emptystringvalidator.h
emptystringvalidator.h \
data/role.h \
data/permission.h
data/permission.h \
data/core-data.h
unix {
target.path = /usr/lib
INSTALLS += target
}
ODB_FILES = core/data/user.h core/data/role.h core/data/permission.h
ODB_FILES = core/data/core-data.h
H_DIR = $$PWD/data/*.h
include(../odb.pri)