summaryrefslogtreecommitdiffstats
path: root/subsurface.pro
diff options
context:
space:
mode:
authorGravatar Anton Lundin <glance@acc.umu.se>2014-03-26 23:36:06 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-03-27 10:42:07 -0700
commit198199adaea29963cac81325d45e13310091ff35 (patch)
tree0ef193db7cf80ef29b0e4f9f97cfa1eec6b0c83a /subsurface.pro
parent605cff32a51bf8b5b7dba73fc18622afded39539 (diff)
downloadsubsurface-198199adaea29963cac81325d45e13310091ff35.tar.gz
Remove printing when building for Android
Qt for Android doesn't support printing. 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.pro16
1 files changed, 12 insertions, 4 deletions
diff --git a/subsurface.pro b/subsurface.pro
index baf1341b3..d10f73df4 100644
--- a/subsurface.pro
+++ b/subsurface.pro
@@ -76,7 +76,11 @@ HEADERS = \
qt-ui/profile/divetooltipitem.h \
qt-ui/profile/ruleritem.h
-android: HEADERS -= qt-ui/usermanual.h
+android: HEADERS -= \
+ qt-ui/usermanual.h \
+ qt-ui/printdialog.h \
+ qt-ui/printlayout.h \
+ qt-ui/printoptions.h
SOURCES = \
deco.c \
@@ -148,7 +152,11 @@ else: linux*: SOURCES += linux.c
mac: SOURCES += macos.c
win32: SOURCES += windows.c
-android: SOURCES -= qt-ui/usermanual.cpp
+android: SOURCES -= \
+ qt-ui/usermanual.cpp \
+ qt-ui/printdialog.cpp \
+ qt-ui/printlayout.cpp \
+ qt-ui/printoptions.cpp
FORMS = \
qt-ui/about.ui \
@@ -167,8 +175,8 @@ FORMS = \
qt-ui/divelogimportdialog.ui \
qt-ui/usermanual.ui
-# Usermanual isn't supported on android right now
-android: FORMS -= qt-ui/usermanual.ui
+# Nether usermanual or printing is supported on android right now
+android: FORMS -= qt-ui/usermanual.ui qt-ui/printoptions.ui
RESOURCES = subsurface.qrc