diff --git a/modules/gui/qt4/components/open_panels.cpp b/modules/gui/qt4/components/open_panels.cpp
index f86ca816b8138cb0273c6e1fccf9515df6322c5b..f12d12d40bab2287006f239eec97faa28c013797 100644
--- a/modules/gui/qt4/components/open_panels.cpp
+++ b/modules/gui/qt4/components/open_panels.cpp
@@ -50,6 +50,7 @@
 #include <QDirModel>
 #include <QScrollArea>
 #include <QUrl>
+#include <QMimeData>
 #include <QDropEvent>
 
 #define I_DEVICE_TOOLTIP \
diff --git a/modules/gui/qt4/dialogs/playlist.cpp b/modules/gui/qt4/dialogs/playlist.cpp
index 646fd531fbe9a3bffa9eba5a1265567e7d37e147..2f2b72425f2a9e27e411f2c9bff0bf640bfd3d2d 100644
--- a/modules/gui/qt4/dialogs/playlist.cpp
+++ b/modules/gui/qt4/dialogs/playlist.cpp
@@ -31,6 +31,7 @@
 #include "util/qt_dirs.hpp"
 
 #include <QUrl>
+#include <QMimeData>
 #include <QHBoxLayout>
 
 PlaylistDialog::PlaylistDialog( intf_thread_t *_p_intf )
diff --git a/modules/gui/qt4/dialogs/toolbar.cpp b/modules/gui/qt4/dialogs/toolbar.cpp
index a72d3e4c4ff1ab3957428be6d4808329db7f6c02..7e4e24ba21a13d53ca7a6e200ae21fbbbaa35783 100644
--- a/modules/gui/qt4/dialogs/toolbar.cpp
+++ b/modules/gui/qt4/dialogs/toolbar.cpp
@@ -45,10 +45,11 @@
 #include <QListWidget>
 #include <QSpinBox>
 #include <QRubberBand>
-
+#include <QDrag>
 #include <QDragEnterEvent>
 #include <QDialogButtonBox>
 #include <QInputDialog>
+#include <QMimeData>
 
 #include <assert.h>
 
diff --git a/modules/gui/qt4/main_interface.cpp b/modules/gui/qt4/main_interface.cpp
index be15db0fe6e904199c1194dbed6eaabb5dbfcfef..c67e0f1485446480b50987cb0afbf76898e9bafa 100644
--- a/modules/gui/qt4/main_interface.cpp
+++ b/modules/gui/qt4/main_interface.cpp
@@ -52,6 +52,7 @@
 #include <QUrl>
 #include <QSize>
 #include <QDate>
+#include <QMimeData>
 
 #include <QMenu>
 #include <QMenuBar>