diff --color -Naur a/src/dvideowidget.h b/src/dvideowidget.h
--- a/src/dvideowidget.h	2022-02-08 10:58:23.000430309 +0800
+++ b/src/dvideowidget.h	2022-02-08 11:00:21.694887451 +0800
@@ -28,6 +28,7 @@
 #include <QMediaPlayer>
 #include <QMediaPlaylist>
 #include <QPainter>
+#include <QPainterPath>
 #include <QPointer>
 
 #include <DObjectPrivate>
diff --color -Naur a/src/widgets/closebutton.h b/src/widgets/closebutton.h
--- a/src/widgets/closebutton.h	2022-02-08 10:58:23.004430302 +0800
+++ b/src/widgets/closebutton.h	2022-02-08 10:59:16.412344856 +0800
@@ -3,6 +3,7 @@
 
 #include <QPushButton>
 #include <QPainter>
+#include <QPainterPath>
 #include <DGuiApplicationHelper>
 #include <QKeyEvent>
 #include <QMouseEvent>
diff --color -Naur a/src/widgets/navigationbutton.h b/src/widgets/navigationbutton.h
--- a/src/widgets/navigationbutton.h	2022-02-08 10:58:23.004430302 +0800
+++ b/src/widgets/navigationbutton.h	2022-02-08 10:59:40.029104263 +0800
@@ -22,6 +22,7 @@
 #include <QGraphicsDropShadowEffect>
 #include <QHBoxLayout>
 #include <QPainter>
+#include <QPainterPath>
 #include <QKeyEvent>
 
 #include <DGuiApplicationHelper>
