diff --git a/src/plugins/quickopen/basefilefilter.cpp b/src/plugins/quickopen/basefilefilter.cpp
index c895af5a7c27f75766b2e63e937482b50a373cd6..3ba6b8b06d443034a708c45ac1f2782b76c6ac12 100644
--- a/src/plugins/quickopen/basefilefilter.cpp
+++ b/src/plugins/quickopen/basefilefilter.cpp
@@ -32,6 +32,7 @@
 #include <coreplugin/editormanager/editormanager.h>
 
 #include <QtCore/QDir>
+#include <QtCore/QStringMatcher>
 
 using namespace Core;
 using namespace QuickOpen;