blob: d218c10d90a0d88347ab0795215b49da7f15d6b4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
Fix build with QuaZip-1.0.
--- a/phoenix.pro
+++ b/phoenix.pro
@@ -194,8 +194,8 @@
include(pri/qtsysteminfo.pri)
contains(DEFINES, QUAZIP_INSTALLED) {
- INCLUDEPATH += /usr/include/quazip
- LIBS += -lquazip
+ CONFIG += link_pkgconfig
+ PKGCONFIG += quazip1-qt5
} else {
include(pri/quazip.pri)
}
--- a/src/utils/folderutils.cpp
+++ b/src/utils/folderutils.cpp
@@ -35,8 +35,8 @@
#include "../debugdialog.h"
#ifdef QUAZIP_INSTALLED
-#include <quazip/quazip.h>
-#include <quazip/quazipfile.h>
+#include <quazip.h>
+#include <quazipfile.h>
#else
#include "../lib/quazip/quazip.h"
#include "../lib/quazip/quazipfile.h"
|