fix build header file error

This commit is contained in:
tanyulong2021 2022-02-10 16:54:51 +08:00
parent a01254d35c
commit 9588b17af9
2 changed files with 62 additions and 2 deletions

View File

@ -0,0 +1,55 @@
From d9dc317b68246c3361c3f740c061f1103c0910c7 Mon Sep 17 00:00:00 2001
From: tanyulong2021 <tanyulong@kylinos.cn>
Date: Thu, 10 Feb 2022 16:51:36 +0800
Subject: [PATCH] add header file
---
src/comboxwidget.cpp | 1 +
src/dropdownbox.cpp | 1 +
src/timeshowwidget.cpp | 1 +
src/widget.cpp | 1 +
4 files changed, 4 insertions(+)
diff --git a/src/comboxwidget.cpp b/src/comboxwidget.cpp
index 98dd60b..b1e0a43 100755
--- a/src/comboxwidget.cpp
+++ b/src/comboxwidget.cpp
@@ -1,4 +1,5 @@
#include "comboxwidget.h"
+#include <QPainterPath>
comBoxWidget::comBoxWidget(QWidget *parent) : QWidget(parent)
{
diff --git a/src/dropdownbox.cpp b/src/dropdownbox.cpp
index 4965f3d..32abf24 100755
--- a/src/dropdownbox.cpp
+++ b/src/dropdownbox.cpp
@@ -1,4 +1,5 @@
#include "dropdownbox.h"
+#include <QPainterPath>
dateSelectionWidget::dateSelectionWidget(QString week, QWidget *parent) : QWidget(parent)
{
diff --git a/src/timeshowwidget.cpp b/src/timeshowwidget.cpp
index 0b740e5..47ec861 100755
--- a/src/timeshowwidget.cpp
+++ b/src/timeshowwidget.cpp
@@ -1,4 +1,5 @@
#include "timeshowwidget.h"
+#include <QPainterPath>
BlankShadowWidget::BlankShadowWidget(QWidget *parent) : QWidget(parent)
{
diff --git a/src/widget.cpp b/src/widget.cpp
index bf984da..0e1344a 100755
--- a/src/widget.cpp
+++ b/src/widget.cpp
@@ -1,4 +1,5 @@
#include "widget.h"
+#include <QPainterPath>
/* 上方Menu界面 */
menuBarWidget::menuBarWidget(QWidget *parent) : QWidget(parent)
--
2.33.0

View File

@ -1,6 +1,6 @@
Name: time-shutdown
Version: 1.1.1
Release: 2
Release: 3
Summary: The time-shutdown is mainly used in the desktop operating system
License: GPL-3+
@ -17,6 +17,7 @@ Requires: libX11
Requires: ukui-notification-daemon
patch0: 0001-fix-title-bar-issue.patch
patch1: 0002-add-header-file.patch
%description
The time-shutdown is mainly used in the desktop operating system.
@ -27,6 +28,7 @@ patch0: 0001-fix-title-bar-issue.patch
%prep
%setup -q
%patch0 -p1
%patch1 -p1
%build
export PATH=%{_qt5_bindir}:$PATH
@ -50,8 +52,11 @@ popd
%{_datadir}/ukui-time-shutdown/time-shutdown_zh_CN.qm
%changelog
* Thu Feb 10 2022 tanyulong <tanyulong@kylinos.cn> - 1.1.1-3
- fix missing head file error
* Tue Dec 1 2020 douyan <douyan@kylinos.cn> - 1.1.1-2
- fix-title-bar-issue
* Wen Nov 11 2020 douyan <douyan@kylinos.cn> - 1.1.1-1
- update to upstream version 1.1.0-1-0001+1031
- update to upstream version 1.1.0-1-0001+1031