mobile/undo: compile WSInfoModel

The weight-undo commands need this. Therefore, we have to compile the
WSInfoModel if we want to access the undo commands from mobile.

Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Berthold Stoeger 2019-12-11 10:37:15 +01:00 committed by Dirk Hohndel
parent 730fd26814
commit 7d6949ce7d
2 changed files with 4 additions and 2 deletions

View file

@ -134,6 +134,7 @@ SOURCES += ../../subsurface-mobile-main.cpp \
../../qt-models/cleanertablemodel.cpp \
../../qt-models/tankinfomodel.cpp \
../../qt-models/models.cpp \
../../qt-models/weightsysteminfomodel.cpp \
../../profile-widget/qmlprofile.cpp \
../../profile-widget/divecartesianaxis.cpp \
../../profile-widget/diveeventitem.cpp \
@ -275,6 +276,7 @@ HEADERS += \
../../qt-models/cleanertablemodel.h \
../../qt-models/tankinfomodel.h \
../../qt-models/models.h \
../../qt-models/weightsysteminfomodel.h \
../../profile-widget/qmlprofile.h \
../../profile-widget/diveprofileitem.h \
../../profile-widget/profilewidget2.h \

View file

@ -25,6 +25,8 @@ set(SUBSURFACE_GENERIC_MODELS_LIB_SRCS
models.h
tankinfomodel.cpp
tankinfomodel.h
weightsysteminfomodel.cpp
weightsysteminfomodel.h
)
# models exclusively used in desktop builds
@ -49,8 +51,6 @@ set(SUBSURFACE_DESKTOP_MODELS_LIB_SRCS
treemodel.h
weightmodel.cpp
weightmodel.h
weightsysteminfomodel.cpp
weightsysteminfomodel.h
yearlystatisticsmodel.cpp
yearlystatisticsmodel.h
)