From f32788b7b789fab7e65fe31595896f2afe54b587 Mon Sep 17 00:00:00 2001
From: peijiankang <peijiankang@kylinos.cn>
Date: Thu, 25 May 2023 08:34:56 +0800
Subject: [PATCH 1/3] fix compile error about opencv

---
 biometric-manager/biometric-manager.pro | 4 ++--
 biometric-plugin/biometric-plugin.pro   | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/biometric-manager/biometric-manager.pro b/biometric-manager/biometric-manager.pro
index dbafcda..f31a54c 100644
--- a/biometric-manager/biometric-manager.pro
+++ b/biometric-manager/biometric-manager.pro
@@ -19,8 +19,8 @@ INCLUDEPATH +=\
 
 PREFIX = /usr/share/biometric-manager
 LIBS +=-lpthread
-LIBS +=-lX11 -lopencv_img_hash \
-       -lopencv_ximgproc -lopencv_imgcodecs -lopencv_imgproc -lopencv_core
+LIBS +=-lX11 \
+       -lopencv_imgproc -lopencv_imgcodecs -lopencv_core
 
 
 include ($$PWD/qt-solutions/qtsingleapplication/src/qtsingleapplication.pri)
diff --git a/biometric-plugin/biometric-plugin.pro b/biometric-plugin/biometric-plugin.pro
index 80a8cd2..37da360 100644
--- a/biometric-plugin/biometric-plugin.pro
+++ b/biometric-plugin/biometric-plugin.pro
@@ -38,8 +38,8 @@ DEFINES += QT_DEPRECATED_WARNINGS ENABLEPQ
 # 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
 
-LIBS          +=  -L$$[QT_INSTALL_LIBS] -lgsettings-qt -lpolkit-qt5-core-1 -lopencv_img_hash \
-       -lopencv_ximgproc -lopencv_imgcodecs -lopencv_imgproc -lopencv_core -lpwquality
+LIBS          +=  -L$$[QT_INSTALL_LIBS] -lgsettings-qt -lpolkit-qt5-core-1 \
+       -lopencv_imgproc -lopencv_imgcodecs -lopencv_core -lpwquality
 
 CONFIG        += link_pkgconfig \
                  C++11
-- 
2.39.1

