ios.pri 1.08 KB
Newer Older
1 2 3 4 5 6 7 8 9 10
INCLUDEPATH += \
    $$PWD \
    src \
    ios/openssl/include/

LIBS = \
    $${_PRO_FILE_PWD_}/ios/openssl/lib/libcrypto.a \
    $${_PRO_FILE_PWD_}/ios/openssl/lib/libssl.a

HEADERS += \
11
    ios/src/app_delegate.h \
12
    ios/src/doc_view_controller.h \
13
    ios/src/qt_app_delegate.h \
14
    ios/src/ios_file_opener.h \
15
    ios/src/send_email_controller.h \
16 17 18
    ios/src/url_opener.h

OBJECTIVE_SOURCES += \
19
    ios/src/app_delegate.mm \
20 21
    ios/src/doc_view_controller.mm \
    ios/src/ios_file_opener.mm \
22
    ios/src/send_email_controller.mm \
23 24 25 26 27 28
    ios/src/url_opener.mm

QMAKE_IOS_DEPLOYMENT_TARGET = 8.0
QMAKE_INFO_PLIST = $${_PRO_FILE_PWD_}/ios/Info.plist
assets_catalogs.files = $$files($${_PRO_FILE_PWD_}/ios/*.xcassets)
QMAKE_BUNDLE_DATA += assets_catalogs
Martin Straka's avatar
Martin Straka committed
29
ios_icon.files = $$files($${_PRO_FILE_PWD_}/ios/Images.xcassets/AppIcon.appiconset/*.png)
30
QMAKE_BUNDLE_DATA += ios_icon
Martin Straka's avatar
Martin Straka committed
31
app_launch_images.files = $$files($${_PRO_FILE_PWD_}/ios/Images.xcassets/LaunchImage.launchimage/*.png)
32 33
QMAKE_BUNDLE_DATA += app_launch_images
LIBS += -framework UIKit -framework MessageUI -framework MobileCoreServices
34