diff --git a/src/libs/qmljs/qmljsinterpreter.cpp b/src/libs/qmljs/qmljsinterpreter.cpp
index 713cec30a30168f25c7619477953b2f826978371..323387ad9c378ae102215e99900d49bc6ba47a93 100644
--- a/src/libs/qmljs/qmljsinterpreter.cpp
+++ b/src/libs/qmljs/qmljsinterpreter.cpp
@@ -2005,7 +2005,7 @@ void CppQmlTypesLoader::setSuperClasses(QMap<QString, FakeMetaObject *> *newObje
     }
 }
 
-void CppQmlTypes::load(Interpreter::Engine *engine, const QList<const FakeMetaObject *> &objects)
+void CppQmlTypes::load(Engine *engine, const QList<const FakeMetaObject *> &objects)
 {
     // load
     foreach (const FakeMetaObject *metaObject, objects) {