2018-05-20 10:57:14 +00:00
|
|
|
TEMPLATE = app
|
|
|
|
|
|
|
|
QT += qml quick quickcontrols2 widgets positioning concurrent svg bluetooth
|
|
|
|
|
|
|
|
DEFINES += SUBSURFACE_MOBILE BT_SUPPORT BLE_SUPPORT
|
|
|
|
|
|
|
|
CONFIG += c++11
|
|
|
|
|
|
|
|
SOURCES += ../../subsurface-mobile-main.cpp \
|
2018-07-11 10:54:00 +00:00
|
|
|
../../subsurface-helper.cpp \
|
2018-05-20 10:57:14 +00:00
|
|
|
../../map-widget/qmlmapwidgethelper.cpp \
|
|
|
|
../../core/cloudstorage.cpp \
|
|
|
|
../../core/configuredivecomputerthreads.cpp \
|
|
|
|
../../core/devicedetails.cpp \
|
|
|
|
../../core/gpslocation.cpp \
|
|
|
|
../../core/imagedownloader.cpp \
|
|
|
|
../../core/downloadfromdcthread.cpp \
|
|
|
|
../../core/qtserialbluetooth.cpp \
|
|
|
|
../../core/plannernotes.c \
|
|
|
|
../../core/uemis-downloader.c \
|
2019-05-10 17:51:43 +00:00
|
|
|
../../core/applicationstate.cpp \
|
2018-05-20 10:57:14 +00:00
|
|
|
../../core/qthelper.cpp \
|
|
|
|
../../core/checkcloudconnection.cpp \
|
|
|
|
../../core/color.cpp \
|
|
|
|
../../core/configuredivecomputer.cpp \
|
|
|
|
../../core/divecomputer.cpp \
|
|
|
|
../../core/divelogexportlogic.cpp \
|
|
|
|
../../core/divesitehelpers.cpp \
|
|
|
|
../../core/errorhelper.c \
|
|
|
|
../../core/exif.cpp \
|
|
|
|
../../core/format.cpp \
|
|
|
|
../../core/gettextfromc.cpp \
|
|
|
|
../../core/metrics.cpp \
|
|
|
|
../../core/qt-init.cpp \
|
|
|
|
../../core/subsurfacesysinfo.cpp \
|
|
|
|
../../core/windowtitleupdate.cpp \
|
|
|
|
../../core/file.c \
|
|
|
|
../../core/subsurfacestartup.c \
|
|
|
|
../../core/ios.cpp \
|
|
|
|
../../core/profile.c \
|
|
|
|
../../core/device.c \
|
|
|
|
../../core/dive.c \
|
|
|
|
../../core/divelist.c \
|
|
|
|
../../core/gas-model.c \
|
|
|
|
../../core/gaspressures.c \
|
|
|
|
../../core/git-access.c \
|
|
|
|
../../core/liquivision.c \
|
|
|
|
../../core/load-git.c \
|
|
|
|
../../core/parse-xml.c \
|
|
|
|
../../core/parse.c \
|
|
|
|
../../core/import-suunto.c \
|
|
|
|
../../core/import-shearwater.c \
|
|
|
|
../../core/import-cobalt.c \
|
|
|
|
../../core/import-divinglog.c \
|
|
|
|
../../core/import-csv.c \
|
|
|
|
../../core/save-html.c \
|
|
|
|
../../core/statistics.c \
|
|
|
|
../../core/worldmap-save.c \
|
|
|
|
../../core/libdivecomputer.c \
|
|
|
|
../../core/version.c \
|
|
|
|
../../core/save-git.c \
|
|
|
|
../../core/datatrak.c \
|
|
|
|
../../core/ostctools.c \
|
|
|
|
../../core/planner.c \
|
|
|
|
../../core/save-xml.c \
|
|
|
|
../../core/cochran.c \
|
|
|
|
../../core/deco.c \
|
|
|
|
../../core/divesite.c \
|
|
|
|
../../core/equipment.c \
|
2019-06-04 11:52:48 +00:00
|
|
|
../../core/gas.c \
|
2018-05-20 10:57:14 +00:00
|
|
|
../../core/membuffer.c \
|
|
|
|
../../core/sha1.c \
|
|
|
|
../../core/strtod.c \
|
2019-05-30 16:29:36 +00:00
|
|
|
../../core/tag.c \
|
2018-05-20 10:57:14 +00:00
|
|
|
../../core/taxonomy.c \
|
|
|
|
../../core/time.c \
|
2019-05-31 14:09:14 +00:00
|
|
|
../../core/trip.c \
|
2019-06-04 07:05:17 +00:00
|
|
|
../../core/units.c \
|
2018-05-20 10:57:14 +00:00
|
|
|
../../core/uemis.c \
|
|
|
|
../../core/btdiscovery.cpp \
|
|
|
|
../../core/connectionlistmodel.cpp \
|
|
|
|
../../core/qt-ble.cpp \
|
2018-06-16 14:03:31 +00:00
|
|
|
../../core/settings/qPref.cpp \
|
2018-07-12 19:01:31 +00:00
|
|
|
../../core/settings/qPrefCloudStorage.cpp \
|
2018-06-15 08:53:42 +00:00
|
|
|
../../core/settings/qPrefDisplay.cpp \
|
2018-07-15 16:15:40 +00:00
|
|
|
../../core/settings/qPrefDiveComputer.cpp \
|
2018-08-01 15:14:04 +00:00
|
|
|
../../core/settings/qPrefDivePlanner.cpp \
|
2018-08-12 15:57:45 +00:00
|
|
|
../../core/settings/qPrefGeneral.cpp \
|
2018-08-06 17:25:06 +00:00
|
|
|
../../core/settings/qPrefGeocoding.cpp \
|
2018-08-06 17:39:35 +00:00
|
|
|
../../core/settings/qPrefLanguage.cpp \
|
2018-08-05 13:59:28 +00:00
|
|
|
../../core/settings/qPrefLocationService.cpp \
|
2018-08-10 19:18:40 +00:00
|
|
|
../../core/settings/qPrefPartialPressureGas.cpp \
|
2018-07-17 13:22:51 +00:00
|
|
|
../../core/settings/qPrefPrivate.cpp \
|
2018-07-27 08:25:43 +00:00
|
|
|
../../core/settings/qPrefProxy.cpp \
|
2018-08-04 10:02:29 +00:00
|
|
|
../../core/settings/qPrefTechnicalDetails.cpp \
|
2018-07-31 13:04:12 +00:00
|
|
|
../../core/settings/qPrefUnit.cpp \
|
2018-08-03 17:24:53 +00:00
|
|
|
../../core/settings/qPrefUpdateManager.cpp \
|
2018-05-20 10:57:14 +00:00
|
|
|
../../core/subsurface-qt/CylinderObjectHelper.cpp \
|
|
|
|
../../core/subsurface-qt/DiveObjectHelper.cpp \
|
2019-04-10 18:09:39 +00:00
|
|
|
../../core/subsurface-qt/DiveListNotifier.cpp \
|
2018-05-20 10:57:14 +00:00
|
|
|
../../mobile-widgets/qmlmanager.cpp \
|
2018-06-12 08:29:40 +00:00
|
|
|
../../mobile-widgets/qmlprefs.cpp \
|
2018-05-20 10:57:14 +00:00
|
|
|
../../qt-models/divelistmodel.cpp \
|
|
|
|
../../qt-models/diveplotdatamodel.cpp \
|
|
|
|
../../qt-models/gpslistmodel.cpp \
|
|
|
|
../../qt-models/completionmodels.cpp \
|
|
|
|
../../qt-models/divelocationmodel.cpp \
|
|
|
|
../../qt-models/maplocationmodel.cpp \
|
|
|
|
../../qt-models/diveimportedmodel.cpp \
|
|
|
|
../../qt-models/messagehandlermodel.cpp \
|
2018-06-08 10:56:23 +00:00
|
|
|
../../profile-widget/qmlprofile.cpp \
|
2018-05-20 10:57:14 +00:00
|
|
|
../../profile-widget/divecartesianaxis.cpp \
|
|
|
|
../../profile-widget/diveeventitem.cpp \
|
|
|
|
../../profile-widget/diveprofileitem.cpp \
|
|
|
|
../../profile-widget/profilewidget2.cpp \
|
|
|
|
../../profile-widget/ruleritem.cpp \
|
|
|
|
../../profile-widget/animationfunctions.cpp \
|
|
|
|
../../profile-widget/divepixmapitem.cpp \
|
|
|
|
../../profile-widget/divetooltipitem.cpp \
|
|
|
|
../../profile-widget/tankitem.cpp \
|
|
|
|
../../profile-widget/divelineitem.cpp \
|
|
|
|
../../profile-widget/diverectitem.cpp \
|
|
|
|
../../profile-widget/divetextitem.cpp
|
|
|
|
|
2018-06-20 13:53:59 +00:00
|
|
|
RESOURCES += ./qml.qrc \
|
|
|
|
../../mobile-widgets/qml/mobile-resources.qrc \
|
|
|
|
../../map-widget/qml/map-widget.qrc \
|
|
|
|
./translations.qrc
|
2018-05-20 10:57:14 +00:00
|
|
|
|
|
|
|
LIBS += ./install-root/lib/libdivecomputer.a \
|
|
|
|
./install-root/lib/libgit2.a \
|
|
|
|
./install-root/lib/libzip.a \
|
|
|
|
./install-root/lib/libxslt.a \
|
2018-06-08 15:52:11 +00:00
|
|
|
./build-ios/googlemaps-build/libqtgeoservices_googlemaps.a \
|
2018-05-20 10:57:14 +00:00
|
|
|
-liconv \
|
|
|
|
-lsqlite3 \
|
|
|
|
-lxml2
|
|
|
|
|
|
|
|
INCLUDEPATH += ./install-root/include/ \
|
|
|
|
./install-root/lib/libzip/include \
|
|
|
|
./install-root/include/libxstl \
|
|
|
|
./install-root/include/libexstl \
|
|
|
|
./install-root/include/openssl \
|
|
|
|
../.. \
|
|
|
|
../../core \
|
|
|
|
../../mobile-widgets/qml/kirigami/src/libkirigami \
|
|
|
|
/usr/include/libxml2
|
|
|
|
|
|
|
|
HEADERS += \
|
|
|
|
../../core/libdivecomputer.h \
|
|
|
|
../../core/cloudstorage.h \
|
|
|
|
../../core/configuredivecomputerthreads.h \
|
|
|
|
../../core/device.h \
|
|
|
|
../../core/devicedetails.h \
|
|
|
|
../../core/dive.h \
|
|
|
|
../../core/git-access.h \
|
|
|
|
../../core/gpslocation.h \
|
|
|
|
../../core/imagedownloader.h \
|
|
|
|
../../core/pref.h \
|
|
|
|
../../core/profile.h \
|
|
|
|
../../core/qthelper.h \
|
|
|
|
../../core/save-html.h \
|
|
|
|
../../core/statistics.h \
|
|
|
|
../../core/units.h \
|
|
|
|
../../core/version.h \
|
|
|
|
../../core/planner.h \
|
|
|
|
../../core/divesite.h \
|
|
|
|
../../core/checkcloudconnection.h \
|
|
|
|
../../core/cochran.h \
|
|
|
|
../../core/color.h \
|
|
|
|
../../core/configuredivecomputer.h \
|
|
|
|
../../core/datatrak.h \
|
|
|
|
../../core/deco.h \
|
|
|
|
../../core/display.h \
|
|
|
|
../../core/divecomputer.h \
|
|
|
|
../../core/divelist.h \
|
|
|
|
../../core/divelogexportlogic.h \
|
|
|
|
../../core/divesitehelpers.h \
|
|
|
|
../../core/exif.h \
|
|
|
|
../../core/file.h \
|
|
|
|
../../core/gaspressures.h \
|
|
|
|
../../core/gettext.h \
|
|
|
|
../../core/gettextfromc.h \
|
|
|
|
../../core/membuffer.h \
|
|
|
|
../../core/metrics.h \
|
|
|
|
../../core/qt-gui.h \
|
|
|
|
../../core/sha1.h \
|
|
|
|
../../core/strndup.h \
|
|
|
|
../../core/subsurfacestartup.h \
|
|
|
|
../../core/subsurfacesysinfo.h \
|
|
|
|
../../core/taxonomy.h \
|
|
|
|
../../core/uemis.h \
|
|
|
|
../../core/webservice.h \
|
|
|
|
../../core/windowtitleupdate.h \
|
|
|
|
../../core/worldmap-options.h \
|
|
|
|
../../core/worldmap-save.h \
|
|
|
|
../../core/downloadfromdcthread.h \
|
|
|
|
../../core/btdiscovery.h \
|
|
|
|
../../core/connectionlistmodel.h \
|
|
|
|
../../core/qt-ble.h \
|
2018-06-16 14:03:31 +00:00
|
|
|
../../core/settings/qPref.h \
|
2018-07-12 19:01:31 +00:00
|
|
|
../../core/settings/qPrefCloudStorage.h \
|
2018-06-15 08:53:42 +00:00
|
|
|
../../core/settings/qPrefDisplay.h \
|
2018-07-15 16:15:40 +00:00
|
|
|
../../core/settings/qPrefDiveComputer.h \
|
2018-08-01 15:14:04 +00:00
|
|
|
../../core/settings/qPrefDivePlanner.h \
|
2018-08-12 15:57:45 +00:00
|
|
|
../../core/settings/qPrefGeneral.h \
|
2018-08-06 17:25:06 +00:00
|
|
|
../../core/settings/qPrefGeocoding.h \
|
2018-08-06 17:39:35 +00:00
|
|
|
../../core/settings/qPrefLanguage.h \
|
2018-08-05 13:59:28 +00:00
|
|
|
../../core/settings/qPrefLocationService.h \
|
2018-08-10 19:18:40 +00:00
|
|
|
../../core/settings/qPrefPartialPressureGas.h \
|
2018-07-17 13:22:51 +00:00
|
|
|
../../core/settings/qPrefPrivate.h \
|
2018-07-27 08:25:43 +00:00
|
|
|
../../core/settings/qPrefProxy.h \
|
2018-08-04 10:02:29 +00:00
|
|
|
../../core/settings/qPrefTechnicalDetails.h \
|
2018-07-31 13:04:12 +00:00
|
|
|
../../core/settings/qPrefUnit.h \
|
2018-08-03 17:24:53 +00:00
|
|
|
../../core/settings/qPrefUpdateManager.h \
|
2018-05-20 10:57:14 +00:00
|
|
|
../../core/subsurface-qt/CylinderObjectHelper.h \
|
|
|
|
../../core/subsurface-qt/DiveObjectHelper.h \
|
2019-04-10 18:09:39 +00:00
|
|
|
../../core/subsurface-qt/DiveListNotifier.h \
|
2018-05-20 10:57:14 +00:00
|
|
|
../../mobile-widgets/qmlmanager.h \
|
2018-06-12 08:29:40 +00:00
|
|
|
../../mobile-widgets/qmlprefs.h \
|
2018-05-20 10:57:14 +00:00
|
|
|
../../map-widget/qmlmapwidgethelper.h \
|
|
|
|
../../qt-models/divelistmodel.h \
|
|
|
|
../../qt-models/diveplotdatamodel.h \
|
|
|
|
../../qt-models/gpslistmodel.h \
|
|
|
|
../../qt-models/divelocationmodel.h \
|
|
|
|
../../qt-models/completionmodels.h \
|
|
|
|
../../qt-models/weightsysteminfomodel.h \
|
|
|
|
../../qt-models/maplocationmodel.h \
|
|
|
|
../../qt-models/diveimportedmodel.h \
|
|
|
|
../../qt-models/messagehandlermodel.h \
|
2018-06-08 10:56:23 +00:00
|
|
|
../../profile-widget/qmlprofile.h \
|
2018-05-20 10:57:14 +00:00
|
|
|
../../profile-widget/diveprofileitem.h \
|
|
|
|
../../profile-widget/profilewidget2.h \
|
|
|
|
../../profile-widget/ruleritem.h \
|
|
|
|
../../profile-widget/diveeventitem.h \
|
|
|
|
../../profile-widget/divetooltipitem.h \
|
|
|
|
../../profile-widget/tankitem.h \
|
|
|
|
../../profile-widget/animationfunctions.h \
|
|
|
|
../../profile-widget/divecartesianaxis.h \
|
|
|
|
../../profile-widget/divelineitem.h \
|
|
|
|
../../profile-widget/divepixmapitem.h \
|
|
|
|
../../profile-widget/diverectitem.h \
|
|
|
|
../../profile-widget/divetextitem.h
|
|
|
|
|
|
|
|
# Additional import path used to resolve QML modules in Qt Creator's code model
|
|
|
|
QML_IMPORT_PATH =
|
|
|
|
|
|
|
|
# Default rules for deployment.
|
|
|
|
include(./deployment.pri)
|
|
|
|
|
|
|
|
include(../../mobile-widgets/qml/kirigami/kirigami.pri)
|
|
|
|
|
|
|
|
# Supress some warnings
|
2018-05-21 06:12:40 +00:00
|
|
|
QMAKE_CXXFLAGS += -Wno-shorten-64-to-32 -Wno-missing-field-initializers
|
|
|
|
QMAKE_CFLAGS += -Wno-shorten-64-to-32 -Wno-missing-field-initializers
|
2018-05-20 10:57:14 +00:00
|
|
|
|
|
|
|
ios {
|
|
|
|
QMAKE_ASSET_CATALOGS += ./storeIcon.xcassets
|
|
|
|
app_launch_images.files = ./SubsurfaceMobileLaunch.xib $$files(./SubsurfaceMobileLaunchImage*.png)
|
|
|
|
images.files = ../../icons/subsurface-mobile-icon.png
|
|
|
|
QMAKE_BUNDLE_DATA += app_launch_images images
|
|
|
|
QMAKE_INFO_PLIST = ./Info.plist
|
|
|
|
QMAKE_IOS_DEPLOYMENT_TARGET = 10.0
|
|
|
|
}
|