feat: add include QPainterPath
This commit is contained in:
parent
391924eb16
commit
5addc8433c
39
0001-feat-add-include-QPainterPath.patch
Normal file
39
0001-feat-add-include-QPainterPath.patch
Normal file
@ -0,0 +1,39 @@
|
||||
From 95f2520afea8ec1f27cfb96b95fa4d67bcb93a5e Mon Sep 17 00:00:00 2001
|
||||
From: leeffo <leeffo@yeah.net>
|
||||
Date: Fri, 10 Feb 2023 10:55:23 +0800
|
||||
Subject: [PATCH] feat: add include QPainterPath
|
||||
|
||||
---
|
||||
src/view/widget/search_button.cpp | 2 ++
|
||||
src/view/widget/search_completion_delegate.cpp | 2 ++
|
||||
2 files changed, 4 insertions(+)
|
||||
|
||||
diff --git a/src/view/widget/search_button.cpp b/src/view/widget/search_button.cpp
|
||||
index 94081d4..4f64755 100644
|
||||
--- a/src/view/widget/search_button.cpp
|
||||
+++ b/src/view/widget/search_button.cpp
|
||||
@@ -29,6 +29,8 @@
|
||||
|
||||
#include <DLog>
|
||||
|
||||
+#include <QPainterPath>
|
||||
+
|
||||
DWIDGET_USE_NAMESPACE
|
||||
|
||||
namespace dman {
|
||||
diff --git a/src/view/widget/search_completion_delegate.cpp b/src/view/widget/search_completion_delegate.cpp
|
||||
index 2cdd0ac..d2ae1d9 100644
|
||||
--- a/src/view/widget/search_completion_delegate.cpp
|
||||
+++ b/src/view/widget/search_completion_delegate.cpp
|
||||
@@ -8,6 +8,8 @@
|
||||
#include <DStyleHelper>
|
||||
#include <DApplicationHelper>
|
||||
|
||||
+#include <QPainterPath>
|
||||
+
|
||||
SearchCompletionDelegate::SearchCompletionDelegate(QAbstractItemView *parent)
|
||||
:DStyledItemDelegate(parent)
|
||||
, m_parentView(parent)
|
||||
--
|
||||
2.20.1
|
||||
|
||||
@ -3,12 +3,14 @@
|
||||
%global _unpackaged_files_terminate_build 0
|
||||
Name: deepin-manual
|
||||
Version: 5.6.7
|
||||
Release: 6
|
||||
Release: 7
|
||||
Summary: Manual is designed to help users learn the operating system and its applications, providing specific instructions and function descriptions.
|
||||
License: GPLv3
|
||||
URL: https://uos-packages.deepin.com/uos/pool/main/d/deepin-manual/
|
||||
Source0: https://github.com/linuxdeepin/%{name}/archive/%{version}/%{name}-%{version}.tar.gz
|
||||
|
||||
Patch9000: 0001-feat-add-include-QPainterPath.patch
|
||||
|
||||
BuildRequires: cmake
|
||||
BuildRequires: dtkcore-devel
|
||||
BuildRequires: dtkwidget-devel
|
||||
@ -26,7 +28,8 @@ Manual is designed to help users learn the operating system and its applications
|
||||
|
||||
|
||||
%prep
|
||||
%setup
|
||||
%setup -q
|
||||
%patch9000 -p1
|
||||
|
||||
%build
|
||||
export PATH=$PATH:/usr/lib64/qt5/bin
|
||||
@ -56,6 +59,9 @@ export PATH=$PATH:/usr/lib64/qt5/bin
|
||||
|
||||
|
||||
%changelog
|
||||
* Fri Feb 10 2023 liweiganga <liweiganga@uniontech.com> - 5.6.7-7
|
||||
- feat: fix compile fail
|
||||
|
||||
* Thu Sep 3 2020 weidong <weidong@uniontech.com> - 5.6.7-6
|
||||
- fix source url in spec
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user