Commit 307526da authored by Fawzi Mohamed's avatar Fawzi Mohamed

Revert "qmljs: fix compilation for Qt4"

moving original patch to master

This reverts commit c5b6e6ae1c60cb5692deef0db4c3dfbcf0859a1d

Change-Id: I84153a3aaf3ab5ca670ed62aa62babce5bbd51e9
Reviewed-by: default avatarEike Ziller <eike.ziller@digia.com>
parent b1d5169b
......@@ -1361,9 +1361,7 @@ 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