diff --git a/debian/control b/debian/control index 3d3d383..93be8d0 100644 --- a/debian/control +++ b/debian/control @@ -11,7 +11,7 @@ Build-Depends: debhelper (>=9.0.0), qtscript5-dev, qttools5-dev-tools, libxapian-dev, - libquazip5-dev(>=0.7.6-6build1), + libquazip5-dev(>=0.9.1-2), libglib2.0-dev, libkf5windowsystem-dev, libgsettings-qt-dev, diff --git a/frontend/control/search-line-edit.cpp b/frontend/control/search-line-edit.cpp index a3d02fc..b1622b7 100644 --- a/frontend/control/search-line-edit.cpp +++ b/frontend/control/search-line-edit.cpp @@ -20,6 +20,7 @@ */ #include "search-line-edit.h" #include +#include QT_BEGIN_NAMESPACE extern void qt_blurImage(QImage &blurImage, qreal radius, bool quality, int transposed); diff --git a/frontend/control/stack-pages/search-result-page.cpp b/frontend/control/stack-pages/search-result-page.cpp index 99bd48b..5088b4f 100644 --- a/frontend/control/stack-pages/search-result-page.cpp +++ b/frontend/control/stack-pages/search-result-page.cpp @@ -19,6 +19,7 @@ * */ #include "search-result-page.h" +#include QT_BEGIN_NAMESPACE extern void qt_blurImage(QImage &blurImage, qreal radius, bool quality, int transposed); QT_END_NAMESPACE diff --git a/frontend/view/result-view-delegate.cpp b/frontend/view/result-view-delegate.cpp index 6770636..904bbc6 100644 --- a/frontend/view/result-view-delegate.cpp +++ b/frontend/view/result-view-delegate.cpp @@ -1,4 +1,5 @@ #include "result-view-delegate.h" +#include using namespace UkuiSearch; static ResultItemStyle *global_instance_of_item_style = nullptr; diff --git a/libsearch/libsearch.pro b/libsearch/libsearch.pro index 81e9f74..96acc51 100644 --- a/libsearch/libsearch.pro +++ b/libsearch/libsearch.pro @@ -7,7 +7,7 @@ TEMPLATE = lib DEFINES += LIBSEARCH_LIBRARY CONFIG += create_pc create_prl no_install_prl -PKGCONFIG += gio-2.0 glib-2.0 gio-unix-2.0 gsettings-qt poppler-qt5 +PKGCONFIG += gio-2.0 glib-2.0 gio-unix-2.0 gsettings-qt poppler-qt5 quazip CONFIG += c++11 link_pkgconfig no_keywords lrelease QMAKE_CXXFLAGS += -Werror=return-type -Werror=return-local-addr -Werror=uninitialized @@ -41,7 +41,7 @@ include(dirwatcher/dirwatcher.pri) include(mailsearch/mailsearch.pri) LIBS += -L$$OUT_PWD/../libchinese-segmentation/ -lchinese-segmentation -LIBS += -lxapian -lquazip5 -luchardet -lQt5Xdg -ltesseract #-L/usr/local/lib/libjemalloc -ljemalloc +LIBS += -lxapian -luchardet -lQt5Xdg -ltesseract #-L/usr/local/lib/libjemalloc -ljemalloc SOURCES += \ file-utils.cpp \