summaryrefslogtreecommitdiffstats
path: root/subsurface.pro
diff options
context:
space:
mode:
authorGravatar Joseph W. Joshua <joejoshw@gmail.com>2014-06-14 22:27:57 +0300
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-06-14 12:50:35 -0700
commit1ec5e6ffc4f9f32a6d7149e52b161aeaba6adfa4 (patch)
tree58a6be26495b540d3471682a1a91369bfbd9a14e /subsurface.pro
parentcdd3b3d9cd5439cd56fb752e56a72045bed55f90 (diff)
downloadsubsurface-1ec5e6ffc4f9f32a6d7149e52b161aeaba6adfa4.tar.gz
OS Detection
Implements automatic OS and architecture detection. This code has been taken from the Qt repositories for Qt 5.4 (LGPL) and slightly modified into the SubsurfaceSysInfo class. Signed-off-by: Joseph W. Joshua <joejoshw@gmail.com> 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 8245f75d4..1172020c5 100644
--- a/subsurface.pro
+++ b/subsurface.pro
@@ -82,7 +82,8 @@ HEADERS = \
qt-ui/profile/ruleritem.h \
qt-ui/updatemanager.h \
qt-ui/divelogexportdialog.h \
- qt-ui/usersurvey.h
+ qt-ui/usersurvey.h \
+ subsurfacesysinfo.h
android: HEADERS -= \
qt-ui/usermanual.h \
@@ -160,7 +161,8 @@ SOURCES = \
qt-ui/profile/ruleritem.cpp \
qt-ui/updatemanager.cpp \
qt-ui/divelogexportdialog.cpp \
- qt-ui/usersurvey.cpp
+ qt-ui/usersurvey.cpp \
+ subsurfacesysinfo.cpp
android: SOURCES += android.cpp
else: linux*: SOURCES += linux.c