diff options
-rw-r--r-- | scribiu.pro | 10 | ||||
-rw-r--r-- | smartpensyncer.cc | 2 |
2 files changed, 10 insertions, 2 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 \ diff --git a/smartpensyncer.cc b/smartpensyncer.cc index d0c472e..9149f33 100644 --- a/smartpensyncer.cc +++ b/smartpensyncer.cc @@ -20,7 +20,7 @@ #include <QtCore/QScopedArrayPointer> #include <QtCore/QThread> #include <QtCore/QDebug> -#include <quazip/quazipfile.h> +#include <quazipfile.h> #include <cstdio> #include "paperreplay.h" #include "notebookmodel.h" |