diff --git a/dstyleplugin/painterhelper.cpp b/dstyleplugin/painterhelper.cpp
index 3db216d..66d548f 100644
--- a/dstyleplugin/painterhelper.cpp
+++ b/dstyleplugin/painterhelper.cpp
@@ -18,6 +18,7 @@
#include "painterhelper.h"
#include <QPainter>
+#include <QPainterPath>
#include <QDebug>
namespace dstyle {
diff --git a/dstyleplugin/painterhelper.h b/dstyleplugin/painterhelper.h
index 6a0aa0e..9235781 100644
--- a/dstyleplugin/painterhelper.h
+++ b/dstyleplugin/painterhelper.h
@@ -19,6 +19,7 @@
#define PAINTERHELPER_H
#include <QBrush>
+#include <QPainterPath>
#include "common.h"
diff --git a/dstyleplugin/pushbuttonhelper.cpp b/dstyleplugin/pushbuttonhelper.cpp
index 8069070..168b009 100644
--- a/dstyleplugin/pushbuttonhelper.cpp
+++ b/dstyleplugin/pushbuttonhelper.cpp
@@ -30,6 +30,7 @@
#include <QDebug>
#include <QStyleOptionButton>
+#include <QPainterPath>
DWIDGET_USE_NAMESPACE
diff --git a/dstyleplugin/tabbarhelper.cpp b/dstyleplugin/tabbarhelper.cpp
index 51f677b..e0ef36c 100644
--- a/dstyleplugin/tabbarhelper.cpp
+++ b/dstyleplugin/tabbarhelper.cpp
@@ -33,6 +33,7 @@ DWIDGET_USE_NAMESPACE
#include <QStyleOptionTabBarBase>
#include <QStyleOptionToolButton>
#include <QPainter>
+#include <QPainterPath>
#include <QToolButton>
#include <QLinearGradient>
#include <QDebug>
diff --git a/dstyleplugin/tabwidgethelper.cpp b/dstyleplugin/tabwidgethelper.cpp
index a2b6756..c5a7d65 100644
--- a/dstyleplugin/tabwidgethelper.cpp
+++ b/dstyleplugin/tabwidgethelper.cpp
@@ -21,6 +21,7 @@
#include <QPainter>
#include <QTabWidget>
+#include <QPainterPath>
#include <QDebug>
namespace dstyle {
diff --git a/styles/norwegianwoodstyle.h b/styles/norwegianwoodstyle.h
index 8bcb846..de2baa6 100644
--- a/styles/norwegianwoodstyle.h
+++ b/styles/norwegianwoodstyle.h
@@ -43,6 +43,7 @@
#include <QProxyStyle>
#include <QPalette>
+#include <QPainterPath>
QT_BEGIN_NAMESPACE
class QPainterPath;