mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Enable BT for iOS build
and add some new source files to .pro file Signed-off-by: Robert C. Helling <helling@atdotde.de> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
f5adbe5662
commit
ec34ebfb04
2 changed files with 10 additions and 2 deletions
|
@ -1,8 +1,8 @@
|
||||||
TEMPLATE = app
|
TEMPLATE = app
|
||||||
|
|
||||||
QT += qml quick quickcontrols2 widgets positioning concurrent svg
|
QT += qml quick quickcontrols2 widgets positioning concurrent svg bluetooth
|
||||||
|
|
||||||
DEFINES += SUBSURFACE_MOBILE
|
DEFINES += SUBSURFACE_MOBILE BT_SUPPORT
|
||||||
|
|
||||||
CONFIG += c++11
|
CONFIG += c++11
|
||||||
|
|
||||||
|
@ -13,6 +13,10 @@ SOURCES += ../../../subsurface-mobile-main.cpp \
|
||||||
../../../core/devicedetails.cpp \
|
../../../core/devicedetails.cpp \
|
||||||
../../../core/gpslocation.cpp \
|
../../../core/gpslocation.cpp \
|
||||||
../../../core/imagedownloader.cpp \
|
../../../core/imagedownloader.cpp \
|
||||||
|
../../../core/downloadfromdcthread.cpp \
|
||||||
|
../../../core/qtserialbluetooth.cpp \
|
||||||
|
../../../core/plannernotes.c \
|
||||||
|
../../../core/uemis-downloader.c \
|
||||||
../../../core/qthelper.cpp \
|
../../../core/qthelper.cpp \
|
||||||
../../../core/checkcloudconnection.cpp \
|
../../../core/checkcloudconnection.cpp \
|
||||||
../../../core/color.cpp \
|
../../../core/color.cpp \
|
||||||
|
@ -81,6 +85,7 @@ SOURCES += ../../../subsurface-mobile-main.cpp \
|
||||||
../../../qt-models/divepicturemodel.cpp \
|
../../../qt-models/divepicturemodel.cpp \
|
||||||
../../../qt-models/divesitepicturesmodel.cpp \
|
../../../qt-models/divesitepicturesmodel.cpp \
|
||||||
../../../qt-models/divetripmodel.cpp \
|
../../../qt-models/divetripmodel.cpp \
|
||||||
|
../../../qt-models/diveimportedmodel.cpp \
|
||||||
../../../qt-models/filtermodels.cpp \
|
../../../qt-models/filtermodels.cpp \
|
||||||
../../../qt-models/models.cpp \
|
../../../qt-models/models.cpp \
|
||||||
../../../qt-models/tankinfomodel.cpp \
|
../../../qt-models/tankinfomodel.cpp \
|
||||||
|
@ -176,6 +181,7 @@ HEADERS += \
|
||||||
../../../core/windowtitleupdate.h \
|
../../../core/windowtitleupdate.h \
|
||||||
../../../core/worldmap-options.h \
|
../../../core/worldmap-options.h \
|
||||||
../../../core/worldmap-save.h \
|
../../../core/worldmap-save.h \
|
||||||
|
../../../core/downloadfromdcthread.h \
|
||||||
../../../core/subsurface-qt/CylinderObjectHelper.h \
|
../../../core/subsurface-qt/CylinderObjectHelper.h \
|
||||||
../../../core/subsurface-qt/DiveObjectHelper.h \
|
../../../core/subsurface-qt/DiveObjectHelper.h \
|
||||||
../../../core/subsurface-qt/SettingsObjectWrapper.h \
|
../../../core/subsurface-qt/SettingsObjectWrapper.h \
|
||||||
|
@ -202,6 +208,7 @@ HEADERS += \
|
||||||
../../../qt-models/tankinfomodel.h \
|
../../../qt-models/tankinfomodel.h \
|
||||||
../../../qt-models/treemodel.h \
|
../../../qt-models/treemodel.h \
|
||||||
../../../qt-models/yearlystatisticsmodel.h \
|
../../../qt-models/yearlystatisticsmodel.h \
|
||||||
|
../../../qt-models/diveimportedmodel.h \
|
||||||
../../../profile-widget/diveprofileitem.h \
|
../../../profile-widget/diveprofileitem.h \
|
||||||
../../../profile-widget/profilewidget2.h \
|
../../../profile-widget/profilewidget2.h \
|
||||||
../../../profile-widget/ruleritem.h \
|
../../../profile-widget/ruleritem.h \
|
||||||
|
|
|
@ -9,6 +9,7 @@ import QtQuick.Layouts 1.2
|
||||||
import QtQuick.Window 2.2
|
import QtQuick.Window 2.2
|
||||||
import QtGraphicalEffects 1.0
|
import QtGraphicalEffects 1.0
|
||||||
import QtQml.Models 2.1
|
import QtQml.Models 2.1
|
||||||
|
import QtBluetooth 5.2
|
||||||
|
|
||||||
|
|
||||||
ApplicationWindow {
|
ApplicationWindow {
|
||||||
|
|
Loading…
Add table
Reference in a new issue