From 5b9099c79c42525d6e5acb2d7d11e5a39ed267c0 Mon Sep 17 00:00:00 2001 From: zhangpengfei Date: Sat, 20 Feb 2021 13:59:06 +0800 Subject: [PATCH] Remove some useless dependence temporarily. --- libsearch/libsearch.pro | 4 ++-- src/control/search-detail-view.h | 2 +- src/src.pro | 10 +++++----- ukui-search.pro | 8 ++++---- 4 files changed, 12 insertions(+), 12 deletions(-) diff --git a/libsearch/libsearch.pro b/libsearch/libsearch.pro index ac23474..1f09e61 100644 --- a/libsearch/libsearch.pro +++ b/libsearch/libsearch.pro @@ -68,8 +68,8 @@ unix { INCLUDEPATH += $$PWD/../libchinese-segmentation DEPENDPATH += $$PWD/../libchinese-segmentation -INCLUDEPATH += $$PWD/../libfriso -DEPENDPATH += $$PWD/../libfriso +#INCLUDEPATH += $$PWD/../libfriso +#DEPENDPATH += $$PWD/../libfriso #DISTFILES += \ # ../translations/libsearch/libukui-search_zh_CN.ts diff --git a/src/control/search-detail-view.h b/src/control/search-detail-view.h index 993e998..13b4ea8 100644 --- a/src/control/search-detail-view.h +++ b/src/control/search-detail-view.h @@ -22,7 +22,7 @@ #define SEARCHDETAILVIEW_H #include -#include +//#include #include "option-view.h" class SearchDetailView : public QWidget diff --git a/src/src.pro b/src/src.pro index 1ce592e..aae6a6a 100644 --- a/src/src.pro +++ b/src/src.pro @@ -1,4 +1,4 @@ -QT += core gui dbus KWindowSystem xml x11extras webenginewidgets +QT += core gui dbus KWindowSystem xml x11extras greaterThan(QT_MAJOR_VERSION, 4): QT += widgets @@ -67,14 +67,14 @@ qm_files.files = $$OUT_PWD/.qm/*.qm INSTALLS += qm_files LIBS += -L$$OUT_PWD/../libsearch -lukui-search \ - -L$$OUT_PWD/../libchinese-segmentation -lchinese-segmentation \ - -L$$OUT_PWD/../libfriso -lfriso + -L$$OUT_PWD/../libchinese-segmentation -lchinese-segmentation +# -L$$OUT_PWD/../libfriso -lfriso INCLUDEPATH += $$PWD/../libsearch DEPENDPATH += $$PWD/../libsearch -INCLUDEPATH += $$PWD/../libfriso -DEPENDPATH += $$PWD/../libfriso +#INCLUDEPATH += $$PWD/../libfriso +#DEPENDPATH += $$PWD/../libfriso #DISTFILES += \ # ../data/ukui-search-menu.desktop \ diff --git a/ukui-search.pro b/ukui-search.pro index ca4ed56..a45b59b 100644 --- a/ukui-search.pro +++ b/ukui-search.pro @@ -2,8 +2,8 @@ TEMPLATE = subdirs SUBDIRS += $$PWD/libchinese-segmentation \ $$PWD/libsearch \ $$PWD/src \ - $$PWD/ukuisearch-systemdbus \ - $$PWD/libfriso + $$PWD/ukuisearch-systemdbus +# $$PWD/libfriso # The following define makes your compiler emit warnings if you use # any Qt feature that has been marked deprecated (the exact warnings # depend on your compiler). Please consult the documentation of the @@ -15,8 +15,8 @@ DEFINES += QT_DEPRECATED_WARNINGS # You can also select to disable deprecated APIs only up to a certain version of Qt. #DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000 # disables all the APIs deprecated before Qt 6.0.0 -libsearch.depends += libchinese-segmentation \ - libfriso +libsearch.depends += libchinese-segmentation +# libfriso src.depends = libsearch CONFIG += ordered