From 04c065a529a55619cb640fbe4df85dd68993c90b Mon Sep 17 00:00:00 2001
From: root <root@localhost.localdomain>
Date: Tue, 25 Jan 2022 16:09:54 +0800
Subject: [PATCH] fix(build): fix  incomplete type 'class QPainterPath' build 
 error

---
 avatar-editor/src/image-preview-widget.cpp | 1 +
 src/widgets/avatar-item-button.cpp         | 1 +
 src/widgets/enroll-progressbar.cpp         | 1 +
 src/widgets/kiran-tips.cpp                 | 1 +
 src/widgets/user-avatar-widget.cpp         | 1 +
 5 files changed, 5 insertions(+)

diff --git a/avatar-editor/src/image-preview-widget.cpp b/avatar-editor/src/image-preview-widget.cpp
index a471969..920afb9 100644
--- a/avatar-editor/src/image-preview-widget.cpp
+++ b/avatar-editor/src/image-preview-widget.cpp
@@ -21,6 +21,7 @@
 #include <QResizeEvent>
 #include <QTimer>
 #include <QWheelEvent>
+#include <QPainterPath>
 
 #include "image-preview-widget.h"
 #include "include/ui-defines.h"
diff --git a/src/widgets/avatar-item-button.cpp b/src/widgets/avatar-item-button.cpp
index ad2082d..430db56 100644
--- a/src/widgets/avatar-item-button.cpp
+++ b/src/widgets/avatar-item-button.cpp
@@ -26,6 +26,7 @@
 #include <QSvgRenderer>
 #include <QtDebug>
 #include <QtMath>
+#include <QPainterPath>
 
 AvatarItemButton::AvatarItemButton(QWidget *parent)
     : QAbstractButton(parent),
diff --git a/src/widgets/enroll-progressbar.cpp b/src/widgets/enroll-progressbar.cpp
index d749716..494a8f8 100644
--- a/src/widgets/enroll-progressbar.cpp
+++ b/src/widgets/enroll-progressbar.cpp
@@ -20,6 +20,7 @@
 
 #include "enroll-progressbar.h"
 #include <QPainter>
+#include <QPainterPath>
 
 EnrollProgressBar::EnrollProgressBar(QWidget *parent) : QWidget(parent)
 {
diff --git a/src/widgets/kiran-tips.cpp b/src/widgets/kiran-tips.cpp
index d727b05..96122b4 100644
--- a/src/widgets/kiran-tips.cpp
+++ b/src/widgets/kiran-tips.cpp
@@ -26,6 +26,7 @@
 #include <QPainter>
 #include <QStyleOption>
 #include <QTimerEvent>
+#include <QPainterPath>
 
 ///tips离显示控件的间距
 #define TIPS_SPACING 3
diff --git a/src/widgets/user-avatar-widget.cpp b/src/widgets/user-avatar-widget.cpp
index 7305ca6..b1974c4 100644
--- a/src/widgets/user-avatar-widget.cpp
+++ b/src/widgets/user-avatar-widget.cpp
@@ -26,6 +26,7 @@
 #include <QPainter>
 #include <QtMath>
 #include <qt5-log-i.h>
+#include <QPainterPath>
 
 UserAvatarWidget::UserAvatarWidget(QWidget *parent)
     : QWidget(parent),
-- 
2.33.0

