Commit f619e13d authored by Clément Fauconnier's avatar Clément Fauconnier

add quazip as a dependency

parent 5e6e6b96
...@@ -70,11 +70,6 @@ include(src/pdf-merger/pdfMerger.pri) ...@@ -70,11 +70,6 @@ include(src/pdf-merger/pdfMerger.pri)
include(plugins/plugins.pri) include(plugins/plugins.pri)
INCLUDEPATH += plugins/cffadaptor/src INCLUDEPATH += plugins/cffadaptor/src
#ThirdParty
DEPENDPATH += $$THIRD_PARTY_PATH/quazip/
INCLUDEPATH += $$THIRD_PARTY_PATH/quazip/
include($$THIRD_PARTY_PATH/quazip/quazip.pri)
FORMS += resources/forms/mainWindow.ui \ FORMS += resources/forms/mainWindow.ui \
resources/forms/preferences.ui \ resources/forms/preferences.ui \
resources/forms/brushProperties.ui \ resources/forms/brushProperties.ui \
...@@ -115,7 +110,10 @@ RCC_DIR = $$BUILD_DIR/rcc ...@@ -115,7 +110,10 @@ RCC_DIR = $$BUILD_DIR/rcc
UI_DIR = $$BUILD_DIR/ui UI_DIR = $$BUILD_DIR/ui
win32 { win32 {
#ThirdParty
DEPENDPATH += $$THIRD_PARTY_PATH/quazip/
INCLUDEPATH += $$THIRD_PARTY_PATH/quazip/
include($$THIRD_PARTY_PATH/quazip/quazip.pri)
LIBS += -lUser32 LIBS += -lUser32
LIBS += -lGdi32 LIBS += -lGdi32
...@@ -163,6 +161,7 @@ macx { ...@@ -163,6 +161,7 @@ macx {
LIBS += -framework AVFoundation LIBS += -framework AVFoundation
LIBS += -framework CoreMedia LIBS += -framework CoreMedia
LIBS += -lcrypto LIBS += -lcrypto
LIBS += -lquazip
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
...@@ -420,6 +419,7 @@ macx { ...@@ -420,6 +419,7 @@ macx {
linux-g++* { linux-g++* {
CONFIG += link_prl CONFIG += link_prl
LIBS += -lcrypto LIBS += -lcrypto
LIBS += -lquazip
#LIBS += -lprofiler #LIBS += -lprofiler
LIBS += -lX11 LIBS += -lX11
QMAKE_CFLAGS += -fopenmp QMAKE_CFLAGS += -fopenmp
......
...@@ -34,9 +34,15 @@ ...@@ -34,9 +34,15 @@
#include "UBCFFConstants.h" #include "UBCFFConstants.h"
//THIRD_PARTY_WARNINGS_DISABLE //THIRD_PARTY_WARNINGS_DISABLE
#include "quazip.h" #if defined(Q_OS_LINUX) || defined(Q_OS_OSX)
#include "quazipfile.h" #include <quazip/quazip.h>
#include "quazipfileinfo.h" #include <quazip/quazipfile.h>
#include <quazip/quazipfileinfo.h>
#else
#include "quazip.h"
#include "quazipfile.h"
#include "quazipfileinfo.h"
#endif
//THIRD_PARTY_WARNINGS_ENABLE //THIRD_PARTY_WARNINGS_ENABLE
UBCFFAdaptor::UBCFFAdaptor() UBCFFAdaptor::UBCFFAdaptor()
......
...@@ -40,8 +40,13 @@ ...@@ -40,8 +40,13 @@
#include "globals/UBGlobals.h" #include "globals/UBGlobals.h"
THIRD_PARTY_WARNINGS_DISABLE THIRD_PARTY_WARNINGS_DISABLE
#include "quazip.h" #if defined(Q_OS_LINUX) || defined(Q_OS_OSX)
#include "quazipfile.h" #include <quazip/quazip.h>
#include <quazip/quazipfile.h>
#else
#include "quazip.h"
#include "quazipfile.h"
#endif
THIRD_PARTY_WARNINGS_ENABLE THIRD_PARTY_WARNINGS_ENABLE
#include "core/memcheck.h" #include "core/memcheck.h"
......
...@@ -41,8 +41,13 @@ ...@@ -41,8 +41,13 @@
#include "core/UBForeignObjectsHandler.h" #include "core/UBForeignObjectsHandler.h"
THIRD_PARTY_WARNINGS_DISABLE THIRD_PARTY_WARNINGS_DISABLE
#include "quazip.h" #if defined(Q_OS_LINUX) || defined(Q_OS_OSX)
#include "quazipfile.h" #include <quazip/quazip.h>
#include <quazip/quazipfile.h>
#else
#include "quazip.h"
#include "quazipfile.h"
#endif
THIRD_PARTY_WARNINGS_ENABLE THIRD_PARTY_WARNINGS_ENABLE
#include "core/memcheck.h" #include "core/memcheck.h"
......
...@@ -34,8 +34,13 @@ ...@@ -34,8 +34,13 @@
#include "globals/UBGlobals.h" #include "globals/UBGlobals.h"
THIRD_PARTY_WARNINGS_DISABLE THIRD_PARTY_WARNINGS_DISABLE
#include "quazip.h" #if defined(Q_OS_LINUX) || defined(Q_OS_OSX)
#include "quazipfile.h" #include <quazip/quazip.h>
#include <quazip/quazipfile.h>
#else
#include "quazip.h"
#include "quazipfile.h"
#endif
THIRD_PARTY_WARNINGS_ENABLE THIRD_PARTY_WARNINGS_ENABLE
class UBDocumentProxy; class UBDocumentProxy;
......
...@@ -40,8 +40,13 @@ ...@@ -40,8 +40,13 @@
#include "globals/UBGlobals.h" #include "globals/UBGlobals.h"
THIRD_PARTY_WARNINGS_DISABLE THIRD_PARTY_WARNINGS_DISABLE
#include "quazip.h" #if defined(Q_OS_LINUX) || defined(Q_OS_OSX)
#include "quazipfile.h" #include <quazip/quazip.h>
#include <quazip/quazipfile.h>
#else
#include "quazip.h"
#include "quazipfile.h"
#endif
THIRD_PARTY_WARNINGS_ENABLE THIRD_PARTY_WARNINGS_ENABLE
#include "core/memcheck.h" #include "core/memcheck.h"
......
...@@ -44,9 +44,15 @@ ...@@ -44,9 +44,15 @@
#include "globals/UBGlobals.h" #include "globals/UBGlobals.h"
THIRD_PARTY_WARNINGS_DISABLE THIRD_PARTY_WARNINGS_DISABLE
#include "quazip.h" #if defined(Q_OS_LINUX) || defined(Q_OS_OSX)
#include "quazipfile.h" #include <quazip/quazip.h>
#include "quazipfileinfo.h" #include <quazip/quazipfile.h>
#include <quazip/quazipfileinfo.h>
#else
#include "quazip.h"
#include "quazipfile.h"
#include "quazipfileinfo.h"
#endif
THIRD_PARTY_WARNINGS_ENABLE THIRD_PARTY_WARNINGS_ENABLE
#include "core/memcheck.h" #include "core/memcheck.h"
......
...@@ -39,9 +39,15 @@ ...@@ -39,9 +39,15 @@
#include "globals/UBGlobals.h" #include "globals/UBGlobals.h"
THIRD_PARTY_WARNINGS_DISABLE THIRD_PARTY_WARNINGS_DISABLE
#include "quazip.h" #if defined(Q_OS_LINUX) || defined(Q_OS_OSX)
#include "quazipfile.h" #include <quazip/quazip.h>
#include "quazipfileinfo.h" #include <quazip/quazipfile.h>
#include <quazip/quazipfileinfo.h>
#else
#include "quazip.h"
#include "quazipfile.h"
#include "quazipfileinfo.h"
#endif
THIRD_PARTY_WARNINGS_ENABLE THIRD_PARTY_WARNINGS_ENABLE
#include "core/memcheck.h" #include "core/memcheck.h"
......
...@@ -37,9 +37,15 @@ ...@@ -37,9 +37,15 @@
#include "globals/UBGlobals.h" #include "globals/UBGlobals.h"
THIRD_PARTY_WARNINGS_DISABLE THIRD_PARTY_WARNINGS_DISABLE
#include "quazip.h" #if defined(Q_OS_LINUX) || defined(Q_OS_OSX)
#include "quazipfile.h" #include <quazip/quazip.h>
#include "quazipfileinfo.h" #include <quazip/quazipfile.h>
#include <quazip/quazipfileinfo.h>
#else
#include "quazip.h"
#include "quazipfile.h"
#include "quazipfileinfo.h"
#endif
THIRD_PARTY_WARNINGS_ENABLE THIRD_PARTY_WARNINGS_ENABLE
#include "core/memcheck.h" #include "core/memcheck.h"
......
...@@ -36,7 +36,11 @@ ...@@ -36,7 +36,11 @@
#include "globals/UBGlobals.h" #include "globals/UBGlobals.h"
THIRD_PARTY_WARNINGS_DISABLE THIRD_PARTY_WARNINGS_DISABLE
#include "quazipfile.h" #ifdef Q_OS_LINUX
#include <quazip/quazipfile.h>
#else
#include "quazipfile.h"
#endif
#include <openssl/md5.h> #include <openssl/md5.h>
THIRD_PARTY_WARNINGS_ENABLE THIRD_PARTY_WARNINGS_ENABLE
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment