Skip to content

Commit

Permalink
Support finding quazip1 using pkg-config
Browse files Browse the repository at this point in the history
Allow system QuaZip to be used.
  • Loading branch information
cjmayo committed Jan 31, 2024
1 parent dbdbe34 commit 4c348f5
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions pri/quazipdetect.pri
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,12 @@ QUAZIP_LIB_PATH=$$QUAZIP_PATH/lib
SOURCES += \
src/zlibdummy.c \

packagesExist(quazip1-qt$$QT_MAJOR_VERSION) {
PKGCONFIG += quazip1-qt$$QT_MAJOR_VERSION
message("found quazip using pkg-config")
return()
}

exists($$QUAZIP_PATH) {
message("found quazip in $${QUAZIP_PATH}")
} else {
Expand Down

0 comments on commit 4c348f5

Please sign in to comment.