blob: 9d3853c516abf480e041f8a4be4c5eca233df394 (
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,9 @@
include(test/version.pri)
contains(DEFINES, QUAZIP_INSTALLED) {
!build_pass:message("using installed QuaZIP library")
- LIBS += -lquazip5
+ 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 <quazip5/quazip.h>
-#include <quazip5/quazipfile.h>
+#include <quazip.h>
+#include <quazipfile.h>
#else
#include "../lib/quazip/quazip.h"
#include "../lib/quazip/quazipfile.h"
|