summaryrefslogtreecommitdiff
blob: f8b65d665fbceaa080a1c4928aa2151ec2189688 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
diff -U3 -r texstudio-4.7.0.orig/texstudio.pro texstudio-4.7.0/texstudio.pro
--- texstudio-4.7.0.orig/texstudio.pro	2023-11-28 03:20:38.000000000 +0700
+++ texstudio-4.7.0/texstudio.pro	2023-12-03 20:59:39.074498926 +0700
@@ -371,11 +371,9 @@
         PKGCONFIG += quazip1-qt6
     }
     !versionGreaterOrEqual($$QT_VERSION, "6.0.0") {
-            message(System quazip5)
-            isEmpty(QUAZIP_LIB): QUAZIP_LIB = -lquazip5
-            isEmpty(QUAZIP_INCLUDE): QUAZIP_INCLUDE = $${PREFIX}/include/quazip5
-            INCLUDEPATH += $${QUAZIP_INCLUDE}
-            LIBS += $${QUAZIP_LIB}
+        message(System QuaZip)
+        CONFIG += link_pkgconfig
+        PKGCONFIG += quazip1-qt5
     }
 }