update to 2.2.0

解决编译错误

Signed-off-by: kylinsecos_admin <gitee@kylinos.com.cn>
This commit is contained in:
kylinsecos_admin 2022-01-20 20:00:19 +08:00
parent 4ffc890f14
commit 924ca0f71e
4 changed files with 65 additions and 5 deletions

View File

@ -0,0 +1,31 @@
From 69d7fe7218644b286c2ba093976d93594d9da576 Mon Sep 17 00:00:00 2001
From: kylinsecos_admin <gitee@kylinos.com.cn>
Date: Mon, 24 Jan 2022 14:05:06 +0800
Subject: [PATCH] fix(build): fix incomplete type 'class QPainterPath' build
---
src/category-widget.cpp | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/category-widget.cpp b/src/category-widget.cpp
index be89521..a481beb 100644
--- a/src/category-widget.cpp
+++ b/src/category-widget.cpp
@@ -22,6 +22,7 @@
#include <QPainter>
#include <QPropertyAnimation>
#include <QtMath>
+#include <QPainterPath>
#define ROLE_CATEGORY_INDEX Qt::UserRole
@@ -175,4 +176,4 @@ void CategoryWidget::setCurrentCategory(int index)
{
auto item = ui->categorys->item(index);
ui->categorys->setCurrentItem(item);
-}
\ No newline at end of file
+}
--
1.8.3.1

Binary file not shown.

Binary file not shown.

View File

@ -1,12 +1,13 @@
Name: kiran-control-panel
Version: 2.1.1
Release: 5%{?dist}
Version: 2.2.0
Release: 2.kb3
Summary: Kiran Control Panel
Summary(zh_CN): Kiran桌面控制面板
License: Mulan PSL v2
License: Mulan PSL v2
Source0: %{name}-%{version}.tar.gz
Patch0: 0001-fix-build-fix-incomplete-type-class-QPainterPath-bui.patch
BuildRequires: gcc-c++
BuildRequires: cmake >= 3.2
@ -87,8 +88,36 @@ make %{?_smp_mflags}
rm -rf %{buildroot}
%changelog
* Mon Oct 18 2021 xiewenhao <xiewenhao@kylinos.com.cn> - 2.1.0-3.kb2
- KYOS: rebuild for KiranUI-2.1-OE (#43502)
* Mon Jan 24 2022 longcheng <longcheng@kylinos.com.cn> - 2.2.0-2.kb3
- KYOS-B: fix(build): fix incomplete type 'class QPainterPath' build
* Wed Jan 12 2022 caoyuanji <caoyuanji@kylinos.com.cn> - 2.2.0-2.kb2
- rebuild for KY3.4-5-KiranUI-2.2
* Wed Dec 29 2021 kpkg <kpkg@kylinos.com.cn> - 2.2.0-2.kb1
- rebuild for KY3.4-MATE-modules-dev
* Wed Dec 29 2021 caoyuanji<caoyuanji@kylinos.com.cn> - 2.2.0-2
- Upgrade version number for easy upgrade
* Mon Dec 20 2021 caoyuanji <caoyuanji@kylinos.com.cn> - 2.2.0-1.kb2
- rebuild for KY3.4-4-KiranUI-2.2
* Mon Dec 20 2021 caoyuanji <caoyuanji@kylinos.com.cn> - 2.2.0-1.kb1
- rebuild for KY3.4-4-KiranUI-2.2
* Thu Dec 02 2021 liuxinhao <liuxinhao@kylinos.com.cn> - 2.2.0-1
- KYBD: build for 2.2,changed required name to kiran-widgets-qt5
* Thu Dec 02 2021 liuxinhao <liuxinhao@kylinos.com.cn> - 2.1.1-1.kb3
- KYBD: changed required name to kiranwidgets-qt5
* Thu Nov 04 2021 liuxinhao <liuxinhao@kylinos.com.cn> - 2.1.1-1.kb2
- KYBD: changed license and requires
* Mon Nov 01 2021 liuxinhao <liuxinhao@kylinos.com.cn> - 2.1.-1.kb1
- KYOS-B: fixed the problem that the selected items in the sidebar display errors
- KYOS-F: draw sidebar border
* Tue Sep 14 2021 liuxinhao <liuxinhao@kylinos.com.cn> - 2.1.1.kb1
- KYOS-F: launcher set LC_TIME to UTF-8 (#43747)