mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
iOS: add infrastructure to natively send email
This will allow us to send attachments, just like we do on Android. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
0af410d6ce
commit
8164ca56ec
3 changed files with 140 additions and 0 deletions
|
@ -407,6 +407,12 @@ ios {
|
|||
images.files = icons/subsurface-mobile-icon.png
|
||||
QMAKE_BUNDLE_DATA += app_launch_images images
|
||||
|
||||
OBJECTIVE_SOURCES += ios/ios-share.mm
|
||||
HEADERS += ios/ios-share.h
|
||||
Q_ENABLE_BITCODE.name = ENABLE_BITCODE
|
||||
Q_ENABLE_BITCODE.value = NO
|
||||
QMAKE_MAC_XCODE_SETTINGS += Q_ENABLE_BITCODE
|
||||
|
||||
LIBS += ../install-root/ios/lib/libdivecomputer.a \
|
||||
../install-root/ios/lib/libgit2.a \
|
||||
../install-root/ios/lib/libzip.a \
|
||||
|
@ -417,6 +423,8 @@ ios {
|
|||
-lsqlite3 \
|
||||
-lxml2
|
||||
|
||||
LIBS += -framework MessageUI
|
||||
|
||||
INCLUDEPATH += ../install-root/ios/include/ \
|
||||
../install-root/lib/libzip/include \
|
||||
../install-root/ios/include/libxstl \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue