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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
|
diff --git a/configure.rb b/configure.rb
index 23f3dcc9..951db1fa 100755
--- a/configure.rb
+++ b/configure.rb
@@ -108,7 +108,7 @@ _EOH_
quazipDir = conf.argumentValue("with-quazip")
if File.directory? quazipDir
quazipLib = quazipDir + "/lib"
- quazipInclude = quazipDir + "/include"
+ quazipInclude = quazipDir + "/include/quazip5"
config.addLib("-L" + quazipLib)
config.addIncludePath(quazipInclude)
else
diff --git a/configure.tests/quazip/main.cpp b/configure.tests/quazip/main.cpp
index f9ec3753..cf1820da 100644
--- a/configure.tests/quazip/main.cpp
+++ b/configure.tests/quazip/main.cpp
@@ -33,8 +33,8 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>. *
***************************************************************************/
-#include "quazip/quazip.h"
-#include "quazip/quazipfile.h"
+#include "quazip5/quazip.h"
+#include "quazip5/quazipfile.h"
#include <QFile>
int main()
diff --git a/configure.tests/quazip/quazip.pro b/configure.tests/quazip/quazip.pro
index 4db2eeb8..b9e21faa 100755
--- a/configure.tests/quazip/quazip.pro
+++ b/configure.tests/quazip/quazip.pro
@@ -10,7 +10,7 @@ macx {
}
unix:!macx {
- INCLUDEPATH += /usr/include/quazip
+ INCLUDEPATH += /usr/include/quazip5
}
LIBS += -lz
diff --git a/configure.tests/quazip/quazip.qonf b/configure.tests/quazip/quazip.qonf
index 7d259a82..da8aa2ca 100755
--- a/configure.tests/quazip/quazip.qonf
+++ b/configure.tests/quazip/quazip.qonf
@@ -8,7 +8,7 @@
<define value="HAVE_QUAZIP" />
</defines>
<includes>
- <include path="/usr/include/quazip/" />
+ <include path="/usr/include/quazip5/" />
</includes>
</provide>
<solution>
diff --git a/qonf/test.rb b/qonf/test.rb
index ba63f319..d746377c 100755
--- a/qonf/test.rb
+++ b/qonf/test.rb
@@ -98,12 +98,12 @@ class Test
if conf.hasArgument?("with-quazip")
quazipDir = conf.argumentValue("with-quazip")
quazipLib = quazipDir + "/lib"
- extraLib += "-L#{quazipLib} -lquazip"
- extraInclude = quazipDir + "/include"
+ extraLib += "-L#{quazipLib} -lquazip5"
+ extraInclude = quazipDir + "/include/quazip5"
qmakeLine = "'LIBS += #{extraLib}'"
qmakeLine += " 'INCLUDEPATH += #{extraInclude}'"
else
- extraLib = "-lquazip-qt5"
+ extraLib = "-lquazip5"
qmakeLine = "'LIBS += #{extraLib}'"
end
else
@@ -174,9 +174,9 @@ class Test
}
if conf.hasArgument?("with-quazip")
- config.addLib("-lquazip")
+ config.addLib("-lquazip5")
else
- config.addLib("-lquazip-qt5")
+ config.addLib("-lquazip5")
end
# config.addLib("-lquazip-qt5")
diff --git a/src/libtupi/tuppackagehandler.h b/src/libtupi/tuppackagehandler.h
index 413bae8a..5e623971 100644
--- a/src/libtupi/tuppackagehandler.h
+++ b/src/libtupi/tuppackagehandler.h
@@ -38,8 +38,8 @@
#include "tglobal.h"
#include "tapplicationproperties.h"
-#include "quazip/quazip.h"
-#include "quazip/quazipfile.h"
+#include "quazip5/quazip.h"
+#include "quazip5/quazipfile.h"
// SQA: Pending to enable in the future
// #include "quazip/JlCompress.h"
|