mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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:
parent
cdd3b3d9cd
commit
1ec5e6ffc4
4 changed files with 903 additions and 3 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue