diff --git a/src/libs/qmljs/qmljsinterpreter.cpp b/src/libs/qmljs/qmljsinterpreter.cpp
index 39bc441bda9e73a025fdaea4d66c5fefab4ef8a1..cca0d0c5b3111531b7f8c366e1b8487c9a8604d4 100644
--- a/src/libs/qmljs/qmljsinterpreter.cpp
+++ b/src/libs/qmljs/qmljsinterpreter.cpp
@@ -2049,7 +2049,7 @@ void CppQmlTypes::reload(Engine *interpreter)
     }
 }
 
-QList<QmlObjectValue *> CppQmlTypes::typesForImport(const QString &packageName, ComponentVersion version) const
+QList<QmlObjectValue *> CppQmlTypes::typesForImport(const QString &packageName, QmlJS::ComponentVersion version) const
 {
     QMap<QString, QmlObjectValue *> objectValuesByName;