Skip to content

Commit 8147019

Browse files
committed
Support finding quazip1 using pkg-config
Allow system QuaZip to be used.
1 parent 40d23c2 commit 8147019

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

pri/quazipdetect.pri

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,12 @@ message("Using fritzing quazip detect script.")
55
SOURCES += \
66
src/zlibdummy.c \
77

8+
packagesExist(quazip1-qt5) {
9+
PKGCONFIG += quazip1-qt5
10+
message("found quazip using pkg-config")
11+
return()
12+
}
13+
814
exists($$absolute_path($$PWD/../../quazip_qt5)) {
915
QUAZIPPATH = $$absolute_path($$PWD/../../quazip_qt5)
1016
message("found quazip in $${QUAZIPPATH}")
@@ -56,4 +62,4 @@ win32 {
5662
}
5763

5864
LIBS += -L$$QUAZIPLIB -lquazip1-qt5
59-
}
65+
}

0 commit comments

Comments
 (0)