summaryrefslogtreecommitdiffstats
path: root/subsurface.pro
diff options
context:
space:
mode:
authorGravatar Anton Lundin <glance@acc.umu.se>2014-03-26 23:08:57 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-03-27 10:40:43 -0700
commitdf12944c939d618fe2d2629e990c6355d402545c (patch)
treec7d2d0c0c2df62e4957d06fe7859215a2ef15a4b /subsurface.pro
parent770bf9afba18a2d50ead56c0068dc07ed8cb63a1 (diff)
downloadsubsurface-df12944c939d618fe2d2629e990c6355d402545c.tar.gz
Introduce android specific file
This contains a first stab at Subsurface platform interfacing code for Android, and surrounding parts. 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.pro6
1 files changed, 4 insertions, 2 deletions
diff --git a/subsurface.pro b/subsurface.pro
index 98f23b799..df5f796bf 100644
--- a/subsurface.pro
+++ b/subsurface.pro
@@ -4,7 +4,8 @@ QT = core gui network svg
lessThan(QT_MAJOR_VERSION, 5) {
QT += webkit
} else {
- QT += webkitwidgets
+ !android: QT += webkitwidgets
+ android: QT += androidextras
}
INCLUDEPATH += qt-ui $$PWD
DEPENDPATH += qt-ui
@@ -140,7 +141,8 @@ SOURCES = \
qt-ui/profile/divetooltipitem.cpp \
qt-ui/profile/ruleritem.cpp
-linux*: SOURCES += linux.c
+android: SOURCES += android.cpp
+else: linux*: SOURCES += linux.c
mac: SOURCES += macos.c
win32: SOURCES += windows.c