Fix ios build

This commit is contained in:
Oleg.Korshul
2021-10-22 12:03:17 +03:00
parent 65076f0a5e
commit 0e4f194269
4 changed files with 11 additions and 3 deletions

View File

@ -21,9 +21,11 @@ core_android {
core_ios {
INCLUDEPATH += $$PWD/IXWebSocket/build/ios/openssl-universal/include
INCLUDEPATH += $$PWD/IXWebSocket/build/ios/ixwebsocket-universal/include
LIBS += $$PWD/IXWebSocket/build/ios/ixwebsocket-universal/lib/libixwebsocket.a
OPENSSL_LIBS_DIRECTORY = $$PWD/../openssl/build/ios/openssl-universal/lib
}
core_linux {

View File

@ -30,8 +30,7 @@ core_mac {
core_ios {
OBJECTIVE_SOURCES += \
$$PWD/src/FileTransporter_mac.mm \
$$PWD/../../../DesktopEditor/common/File_ios.mm
$$PWD/src/FileTransporter_mac.mm
LIBS += -framework Foundation
}

View File

@ -3,6 +3,8 @@ TEMPLATE = lib
CONFIG -= qt
QT -= core gui
CONFIG += shared
CONFIG += plugin
CORE_ROOT_DIR = $$PWD/../../../core

View File

@ -89,3 +89,8 @@ core_windows {
LIBS += -lRpcrt4
LIBS += -lShell32
}
core_ios {
OBJECTIVE_SOURCES += ./../DesktopEditor/common/File_ios.mm
LIBS += -framework Foundation
}