summaryrefslogtreecommitdiffstats
path: root/subsurface.pro
diff options
context:
space:
mode:
authorGravatar Anton Lundin <glance@acc.umu.se>2014-03-26 23:35:24 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-03-27 10:41:52 -0700
commit605cff32a51bf8b5b7dba73fc18622afded39539 (patch)
tree86649ccbd29ffc5fef10a7b8442cad9868d6c41e /subsurface.pro
parent42df3528a07bbd097226151cb50c122210f47bf9 (diff)
downloadsubsurface-605cff32a51bf8b5b7dba73fc18622afded39539.tar.gz
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>
Diffstat (limited to 'subsurface.pro')
-rw-r--r--subsurface.pro7
1 files changed, 7 insertions, 0 deletions
diff --git a/subsurface.pro b/subsurface.pro
index df5f796bf..baf1341b3 100644
--- a/subsurface.pro
+++ b/subsurface.pro
@@ -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 = \