From fec5fc0afe2ccb442a51295a00a9538227add4b5 Mon Sep 17 00:00:00 2001 From: kylinsecos_admin Date: Mon, 24 Jan 2022 10:08:30 +0800 Subject: [PATCH] fix build error --- ...complete-type-class-QPainterPath-bui.patch | 24 +++++++++++++++++++ kiran-cpanel-appearance.spec | 6 ++++- 2 files changed, 29 insertions(+), 1 deletion(-) create mode 100644 0001-fix-build-fix-incomplete-type-class-QPainterPath-bui.patch diff --git a/0001-fix-build-fix-incomplete-type-class-QPainterPath-bui.patch b/0001-fix-build-fix-incomplete-type-class-QPainterPath-bui.patch new file mode 100644 index 0000000..bf11428 --- /dev/null +++ b/0001-fix-build-fix-incomplete-type-class-QPainterPath-bui.patch @@ -0,0 +1,24 @@ +From 61f05899fdcf418a718aa44d5b97c9b6f8b4e852 Mon Sep 17 00:00:00 2001 +From: kylinsecos_admin +Date: Mon, 24 Jan 2022 09:57:14 +0800 +Subject: [PATCH] fix(build): fix incomplete type 'class QPainterPath' build + +--- + src/pages/wallpaper/widget/preview-label.cpp | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/src/pages/wallpaper/widget/preview-label.cpp b/src/pages/wallpaper/widget/preview-label.cpp +index c134997..566dec1 100644 +--- a/src/pages/wallpaper/widget/preview-label.cpp ++++ b/src/pages/wallpaper/widget/preview-label.cpp +@@ -17,6 +17,7 @@ + #include + #include + #include ++#include + #include "../wallpaper-def.h" + + PreviewLabel::PreviewLabel(int wallpaperType, QString imgPath, QWidget *parent) : QLabel(parent) +-- +1.8.3.1 + diff --git a/kiran-cpanel-appearance.spec b/kiran-cpanel-appearance.spec index da4127b..562cb1f 100644 --- a/kiran-cpanel-appearance.spec +++ b/kiran-cpanel-appearance.spec @@ -1,6 +1,6 @@ Name: kiran-cpanel-appearance Version: 2.2.0 -Release: 2.kb2 +Release: 2.kb3 Summary: This program provide personalized settings for wallpaper, theme and font. Group: System Environment/Base @@ -8,6 +8,7 @@ License: Mulan PSL v2 URL: http://gitlab.kylinos.com.cn/os/kiran-cpanel-appearance Source0: %{name}-%{version}.tar.gz Patch1001: 0000-fix-theme-set-metacity-theme-when-user-change-theme-2028295d.patch +Patch1002: 0001-fix-build-fix-incomplete-type-class-QPainterPath-bui.patch BuildRequires: qt5-qtsvg-devel BuildRequires: cmake @@ -70,6 +71,9 @@ fi rm -rf %{buildroot} %changelog +* Mon Jan 24 2022 longcheng - 2.2.0-2.kb3 +- KYOS-B: fix compilation errors on OpenEuler + * Wed Jan 12 2022 caoyuanji - 2.2.0-2.kb2 - rebuild for KY3.4-5-KiranUI-2.2