Fix some debuild problems caused by libquazip5-dev and QPainterPath.

This commit is contained in:
iaom 2022-02-24 19:58:47 +08:00
parent 5fd3da4bb5
commit fb7811e417
5 changed files with 6 additions and 3 deletions

2
debian/control vendored
View File

@ -11,7 +11,7 @@ Build-Depends: debhelper (>=9.0.0),
qtscript5-dev, qtscript5-dev,
qttools5-dev-tools, qttools5-dev-tools,
libxapian-dev, libxapian-dev,
libquazip5-dev(>=0.7.6-6build1), libquazip5-dev(>=0.9.1-2),
libglib2.0-dev, libglib2.0-dev,
libkf5windowsystem-dev, libkf5windowsystem-dev,
libgsettings-qt-dev, libgsettings-qt-dev,

View File

@ -20,6 +20,7 @@
*/ */
#include "search-line-edit.h" #include "search-line-edit.h"
#include <KWindowEffects> #include <KWindowEffects>
#include <QPainterPath>
QT_BEGIN_NAMESPACE QT_BEGIN_NAMESPACE
extern void qt_blurImage(QImage &blurImage, qreal radius, bool quality, int transposed); extern void qt_blurImage(QImage &blurImage, qreal radius, bool quality, int transposed);

View File

@ -19,6 +19,7 @@
* *
*/ */
#include "search-result-page.h" #include "search-result-page.h"
#include <QPainterPath>
QT_BEGIN_NAMESPACE QT_BEGIN_NAMESPACE
extern void qt_blurImage(QImage &blurImage, qreal radius, bool quality, int transposed); extern void qt_blurImage(QImage &blurImage, qreal radius, bool quality, int transposed);
QT_END_NAMESPACE QT_END_NAMESPACE

View File

@ -1,4 +1,5 @@
#include "result-view-delegate.h" #include "result-view-delegate.h"
#include <QPainterPath>
using namespace UkuiSearch; using namespace UkuiSearch;
static ResultItemStyle *global_instance_of_item_style = nullptr; static ResultItemStyle *global_instance_of_item_style = nullptr;

View File

@ -7,7 +7,7 @@ TEMPLATE = lib
DEFINES += LIBSEARCH_LIBRARY DEFINES += LIBSEARCH_LIBRARY
CONFIG += create_pc create_prl no_install_prl 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 CONFIG += c++11 link_pkgconfig no_keywords lrelease
QMAKE_CXXFLAGS += -Werror=return-type -Werror=return-local-addr -Werror=uninitialized QMAKE_CXXFLAGS += -Werror=return-type -Werror=return-local-addr -Werror=uninitialized
@ -41,7 +41,7 @@ include(dirwatcher/dirwatcher.pri)
include(mailsearch/mailsearch.pri) include(mailsearch/mailsearch.pri)
LIBS += -L$$OUT_PWD/../libchinese-segmentation/ -lchinese-segmentation 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 += \ SOURCES += \
file-utils.cpp \ file-utils.cpp \