diff --git a/src/plugins/qmleditor/qmlcodecompletion.cpp b/src/plugins/qmleditor/qmlcodecompletion.cpp
index 77cb961697f11daf6ab16f281869ba110d625947..f403b6b15acd0ee10f42c249f0ea46bc724f7d8b 100644
--- a/src/plugins/qmleditor/qmlcodecompletion.cpp
+++ b/src/plugins/qmleditor/qmlcodecompletion.cpp
@@ -9,6 +9,7 @@
 #include <texteditor/basetexteditor.h>
 #include <QtDebug>
 
+using namespace QmlEditor;
 using namespace QmlEditor::Internal;
 
 QmlCodeCompletion::QmlCodeCompletion(QmlModelManagerInterface *modelManager,QObject *parent)