fix build error
This commit is contained in:
parent
00a146e36a
commit
8d995b6f3e
@ -7,11 +7,12 @@
|
||||
|
||||
Name: dde-clipboard
|
||||
Version: 5.3.0.3
|
||||
Release: 1
|
||||
Release: 2
|
||||
Summary: Qt platform theme integration plugins for DDE
|
||||
License: GPLv3+
|
||||
URL: http://shuttle.corp.deepin.com/cache/repos/eagle/release-candidate/RERFNS4wLjAuNjU3NQ/pool/main/d/dde-clipboard/
|
||||
Source0: %{name}_%{version}.orig.tar.xz
|
||||
Patch0: modify-QPainterPath-error.patch
|
||||
|
||||
BuildRequires: qt5-qtbase-devel
|
||||
BuildRequires: qt5-linguist
|
||||
@ -21,6 +22,7 @@ BuildRequires: dtkwidget
|
||||
BuildRequires: libgio-qt
|
||||
BuildRequires: libgio-qt-devel
|
||||
BuildRequires: pkgconfig(dframeworkdbus) >= 2.0
|
||||
BuildRequires: qt5-qtbase-private-devel
|
||||
|
||||
%description
|
||||
Qt platform theme integration plugins for DDE
|
||||
@ -28,7 +30,7 @@ Qt platform theme integration plugins for DDE
|
||||
|
||||
|
||||
%prep
|
||||
%autosetup
|
||||
%autosetup -p1
|
||||
|
||||
%build
|
||||
export PATH=$PATH:/usr/lib64/qt5/bin
|
||||
@ -49,6 +51,9 @@ popd
|
||||
%{_datadir}/%{name}/translations/
|
||||
|
||||
%changelog
|
||||
* Tue Feb 08 2022 liweigang <liweiganga@uniontech.com> - 5.3.0.3-2
|
||||
- fix build error
|
||||
|
||||
* Wed Jun 07 2021 weidong <weidong@uniontech.com> - 5.3.0.3-1
|
||||
- Update to 5.3.0.3
|
||||
|
||||
|
||||
22
modify-QPainterPath-error.patch
Normal file
22
modify-QPainterPath-error.patch
Normal file
@ -0,0 +1,22 @@
|
||||
diff --color -Naur a/dde-clipboard/itemwidget.cpp b/dde-clipboard/itemwidget.cpp
|
||||
--- a/dde-clipboard/itemwidget.cpp 2022-02-08 10:47:33.813745658 +0800
|
||||
+++ b/dde-clipboard/itemwidget.cpp 2022-02-08 10:48:08.837654756 +0800
|
||||
@@ -24,6 +24,7 @@
|
||||
#include "refreshtimer.h"
|
||||
|
||||
#include <QPainter>
|
||||
+#include <QPainterPath>
|
||||
#include <QTextOption>
|
||||
#include <QHBoxLayout>
|
||||
#include <QVBoxLayout>
|
||||
diff --color -Naur a/dde-clipboard/pixmaplabel.cpp b/dde-clipboard/pixmaplabel.cpp
|
||||
--- a/dde-clipboard/pixmaplabel.cpp 2022-02-08 10:47:33.817745648 +0800
|
||||
+++ b/dde-clipboard/pixmaplabel.cpp 2022-02-08 11:05:26.072647168 +0800
|
||||
@@ -22,6 +22,7 @@
|
||||
#include "constants.h"
|
||||
|
||||
#include <QPainter>
|
||||
+#include <QPainterPath>
|
||||
#include <QDebug>
|
||||
#include <QTextLayout>
|
||||
#include <QTextOption>
|
||||
Loading…
x
Reference in New Issue
Block a user