aboutsummaryrefslogtreecommitdiff
path: root/scribiu.pro
diff options
context:
space:
mode:
Diffstat (limited to 'scribiu.pro')
-rw-r--r--scribiu.pro10
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 \