fixed an issue with quazip dependency on OSX + commit OpenBoard.pro changes for OSX (may need to be improved)

preferencesAboutTextFull
Clément Fauconnier 6 years ago
parent f619e13dfe
commit bcf18abfd9
  1. 7
      OpenBoard.pro
  2. 2
      src/frameworks/UBFileSystemUtils.cpp

@ -161,7 +161,12 @@ macx {
LIBS += -framework AVFoundation LIBS += -framework AVFoundation
LIBS += -framework CoreMedia LIBS += -framework CoreMedia
LIBS += -lcrypto LIBS += -lcrypto
LIBS += -lquazip LIBS += -L/usr/local/opt/quazip/lib
LIBS += -L/usr/local/opt/ffmpeg/lib
INCLUDEPATH += /usr/local/opt/openssl/include
INCLUDEPATH += /usr/local/opt/ffmpeg/include
INCLUDEPATH += /usr/local/opt/quazip/include
CONFIG(release, debug|release):CONFIG += x86_64 CONFIG(release, debug|release):CONFIG += x86_64
CONFIG(debug, debug|release):CONFIG += x86_64 CONFIG(debug, debug|release):CONFIG += x86_64

@ -36,7 +36,7 @@
#include "globals/UBGlobals.h" #include "globals/UBGlobals.h"
THIRD_PARTY_WARNINGS_DISABLE THIRD_PARTY_WARNINGS_DISABLE
#ifdef Q_OS_LINUX #if defined(Q_OS_LINUX) || defined(Q_OS_OSX)
#include <quazip/quazipfile.h> #include <quazip/quazipfile.h>
#else #else
#include "quazipfile.h" #include "quazipfile.h"

Loading…
Cancel
Save