Remove usermanual when building for Android

Our usermanual is based on webkit, and thats not supported in Qt for
Android. We should probably replace it with a Android native webview
somehow.

Signed-off-by: Anton Lundin <glance@acc.umu.se>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Anton Lundin 2014-03-26 23:35:24 +01:00 committed by Dirk Hohndel
parent 42df3528a0
commit 605cff32a5
5 changed files with 17 additions and 4 deletions

View file

@ -76,6 +76,8 @@ HEADERS = \
qt-ui/profile/divetooltipitem.h \
qt-ui/profile/ruleritem.h
android: HEADERS -= qt-ui/usermanual.h
SOURCES = \
deco.c \
device.c \
@ -146,6 +148,8 @@ else: linux*: SOURCES += linux.c
mac: SOURCES += macos.c
win32: SOURCES += windows.c
android: SOURCES -= qt-ui/usermanual.cpp
FORMS = \
qt-ui/about.ui \
qt-ui/divecomputermanagementdialog.ui \
@ -163,6 +167,9 @@ FORMS = \
qt-ui/divelogimportdialog.ui \
qt-ui/usermanual.ui
# Usermanual isn't supported on android right now
android: FORMS -= qt-ui/usermanual.ui
RESOURCES = subsurface.qrc
TRANSLATIONS = \