diff --git a/src/findbar.cpp b/src/findbar.cpp
index 9adef9d..3147f72 100644
--- a/src/findbar.cpp
+++ b/src/findbar.cpp
@@ -24,6 +24,7 @@
#include "utils.h"
#include <QDebug>
+#include <QPainterPath>
FindBar::FindBar(QWidget *parent)
: QWidget(parent)
diff --git a/src/jumplinebar.cpp b/src/jumplinebar.cpp
index e3bd31b..788eca0 100644
--- a/src/jumplinebar.cpp
+++ b/src/jumplinebar.cpp
@@ -24,6 +24,7 @@
#include "jumplinebar.h"
#include <QDebug>
+#include <QPainterPath>
JumpLineBar::JumpLineBar(QWidget *parent)
: QWidget(parent)
diff --git a/src/replacebar.cpp b/src/replacebar.cpp
index 38249f4..54c4929 100644
--- a/src/replacebar.cpp
+++ b/src/replacebar.cpp
@@ -24,6 +24,7 @@
#include "utils.h"
#include <QDebug>
+#include <QPainterPath>
ReplaceBar::ReplaceBar(QWidget *parent)
: QWidget(parent)
diff --git a/src/tabbar.cpp b/src/tabbar.cpp
index e716068..28f2734 100644
--- a/src/tabbar.cpp
+++ b/src/tabbar.cpp
@@ -26,6 +26,7 @@
#include <QApplication>
#include <QStyleFactory>
#include <QGuiApplication>
+#include <QPainterPath>
#include <DPlatformWindowHandle>
Tabbar::Tabbar(QWidget *parent)
diff --git a/src/thememodule/themeitemdelegate.cpp b/src/thememodule/themeitemdelegate.cpp
index 3c7d832..d3475de 100644
--- a/src/thememodule/themeitemdelegate.cpp
+++ b/src/thememodule/themeitemdelegate.cpp
@@ -21,6 +21,7 @@
#include "themelistmodel.h"
#include "../utils.h"
#include <QPainter>
+#include <QPainterPath>
#include <QDebug>
ThemeItemDelegate::ThemeItemDelegate(QObject *parent)
diff --git a/src/thememodule/themepanel.cpp b/src/thememodule/themepanel.cpp
index 911ac73..c91b598 100644
--- a/src/thememodule/themepanel.cpp
+++ b/src/thememodule/themepanel.cpp
@@ -24,6 +24,7 @@
#include <QVBoxLayout>
#include <QPainter>
#include <QTimer>
+#include <QPainterPath>
ThemePanel::ThemePanel(QWidget *parent)
: QWidget(parent),
diff --git a/src/widgets/bottombar.cpp b/src/widgets/bottombar.cpp
index e659f7b..5c04a58 100644
--- a/src/widgets/bottombar.cpp
+++ b/src/widgets/bottombar.cpp
@@ -24,6 +24,7 @@
#include <QPainter>
#include <QHBoxLayout>
#include <QMenu>
+#include <QPainterPath>
BottomBar::BottomBar(QWidget *parent)
: QWidget(parent),