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>
This commit is contained in:
Joseph W. Joshua 2014-06-14 22:27:57 +03:00 committed by Dirk Hohndel
parent cdd3b3d9cd
commit 1ec5e6ffc4
4 changed files with 903 additions and 3 deletions

View file

@ -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