Commit ec829484 authored by Fawzi Mohamed's avatar Fawzi Mohamed

qmljs: add qbs default paths

Change-Id: Ia9e4d6d87ebe24b9c1fb7f43f8c78d55c404693e
Reviewed-by: default avatarThomas Hartmann <Thomas.Hartmann@digia.com>
parent 8b8c5e8f
......@@ -224,6 +224,11 @@ void ModelManager::delayedInitialization()
connect(ProjectExplorer::SessionManager::instance(), SIGNAL(projectRemoved(ProjectExplorer::Project*)),
this, SLOT(removeProjectInfo(ProjectExplorer::Project*)));
QmlJS::ViewerContext qbsVContext;
qbsVContext.language = Language::QmlQbs;
qbsVContext.maybeAddPath(ICore::resourcePath() + QLatin1String("/qbs"));
setDefaultVContext(qbsVContext);
}
void ModelManager::loadDefaultQmlTypeDescriptions()
......
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