diff --git a/modules/gui/qt/dialogs/plugins/plugins.cpp b/modules/gui/qt/dialogs/plugins/plugins.cpp
index b9385e41aebd05d4c7c162088d3297ec7397d0ee..fd1f46b5410d41d9f22bf7f461ad79fb065df825 100644
--- a/modules/gui/qt/dialogs/plugins/plugins.cpp
+++ b/modules/gui/qt/dialogs/plugins/plugins.cpp
@@ -65,6 +65,7 @@
 #include <QSplitter>
 #include <QToolButton>
 #include <QStackedWidget>
+#include <QPainterPath>
 
 //match the image source (width/height)
 #define SCORE_ICON_WIDTH_SCALE 4