diff options
author | Javier <dev.git@javispedro.com> | 2021-09-11 23:38:34 +0200 |
---|---|---|
committer | Javier <dev.git@javispedro.com> | 2021-09-11 23:38:34 +0200 |
commit | dd0fc96053a3ef52a7420fc0cdce2816bd19a643 (patch) | |
tree | 29cc67977b750668d1a3f150a1c500b90bbc4436 /scribiu.pro | |
parent | f41de1f894c30927fa1eb6e400614c1f441d8ef4 (diff) | |
download | scribiu-dd0fc96053a3ef52a7420fc0cdce2816bd19a643.tar.gz scribiu-dd0fc96053a3ef52a7420fc0cdce2816bd19a643.zip |
fix build issues with quazip on some environments
Diffstat (limited to 'scribiu.pro')
-rw-r--r-- | scribiu.pro | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/scribiu.pro b/scribiu.pro index 8735caa..2393158 100644 --- a/scribiu.pro +++ b/scribiu.pro @@ -7,7 +7,15 @@ QT += phonon4qt5 CONFIG += c++11 CONFIG += link_pkgconfig -PKGCONFIG += libudev libusb-1.0 openobex quazip1-qt5 +PKGCONFIG += libudev libusb-1.0 openobex + +packagesExist(quazip1-qt5) { + PKGCONFIG += quazip1-qt5 +} else { + # Some "distributions" forgot to distribute the pkg-config file... + LIBS += -lquazip5 + INCLUDEPATH += /usr/include/quazip5 +} SOURCES += main.cc \ mainwindow.cc \ |