Commit e3b3e21e authored by Fawzi Mohamed's avatar Fawzi Mohamed

qmljs: fix compilation for Qt4

Change-Id: Idb3ad6962e74dd7a34f108c6e3c3810d843a3f3a
Reviewed-by: default avatarFawzi Mohamed <fawzi.mohamed@digia.com>
parent ec829484
......@@ -1361,7 +1361,9 @@ ModelManagerInterface::ProjectInfo ModelManagerInterface::defaultProjectInfo() c
{
ProjectInfo res;
res.qtImportsPath = QLibraryInfo::location(QLibraryInfo::ImportsPath);
#if (QT_VERSION >= QT_VERSION_CHECK(5, 0, 0))
res.qtQmlPath = QLibraryInfo::location(QLibraryInfo::Qml2ImportsPath);
#endif
return res;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment