diff --git a/src/plugins/qmleditor/qmlcodecompletion.cpp b/src/plugins/qmleditor/qmlcodecompletion.cpp
index 9626d2131956b94b30cc7f0dadde0b4fbdbfea71..5f51916e4c9d2ca7828496a433c88a55cef8181c 100644
--- a/src/plugins/qmleditor/qmlcodecompletion.cpp
+++ b/src/plugins/qmleditor/qmlcodecompletion.cpp
@@ -4,6 +4,7 @@
 #include <texteditor/basetexteditor.h>
 #include <QtDebug>
 
+using namespace QmlEditor;
 using namespace QmlEditor::Internal;
 
 QmlCodeCompletion::QmlCodeCompletion(QObject *parent)