fix build error
This commit is contained in:
parent
3c459a9e6e
commit
fec5fc0afe
@ -0,0 +1,24 @@
|
||||
From 61f05899fdcf418a718aa44d5b97c9b6f8b4e852 Mon Sep 17 00:00:00 2001
|
||||
From: kylinsecos_admin <gitee@kylinos.com.cn>
|
||||
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 <math.h>
|
||||
#include <QPainter>
|
||||
#include <QVBoxLayout>
|
||||
+#include <QPainterPath>
|
||||
#include "../wallpaper-def.h"
|
||||
|
||||
PreviewLabel::PreviewLabel(int wallpaperType, QString imgPath, QWidget *parent) : QLabel(parent)
|
||||
--
|
||||
1.8.3.1
|
||||
|
||||
@ -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 <longcheng@kylinos.com.cn> - 2.2.0-2.kb3
|
||||
- KYOS-B: fix compilation errors on OpenEuler
|
||||
|
||||
* Wed Jan 12 2022 caoyuanji <caoyuanji@kylinos.com.cn> - 2.2.0-2.kb2
|
||||
- rebuild for KY3.4-5-KiranUI-2.2
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user