diff -ruN calamares-new/src/modules/partition/gui/PartitionSplitterWidget.cpp calamares1/src/modules/partition/gui/PartitionSplitterWidget.cpp
--- calamares-new/src/modules/partition/gui/PartitionSplitterWidget.cpp	2021-03-09 19:11:05.000000000 +0800
+++ calamares1/src/modules/partition/gui/PartitionSplitterWidget.cpp	2021-03-17 10:04:44.132221601 +0800
@@ -27,7 +27,7 @@
 
 #include <kpmcore/core/device.h>
 #include <kpmcore/core/partition.h>
-
+#include <QtGui/qpainterpath.h>
 #include <QApplication>
 #include <QPainter>
 #include <QMouseEvent>
