diff --git a/src/libs/qmljs/qmljsinterpreter.cpp b/src/libs/qmljs/qmljsinterpreter.cpp
index 71346335633a9d284317b8b7615b13b981804766..ba644b8ef4a0f2d16cacd8a8dead084129ec70e7 100644
--- a/src/libs/qmljs/qmljsinterpreter.cpp
+++ b/src/libs/qmljs/qmljsinterpreter.cpp
@@ -1379,7 +1379,7 @@ QList<const ObjectValue *> ScopeChain::all() const
 }
 
 
-Context::Context(const Snapshot &snapshot)
+Context::Context(const QmlJS::Snapshot &snapshot)
     : _snapshot(snapshot),
       _engine(new Engine),
       _qmlScopeObjectIndex(-1),