Commit e641bfbd authored by Christian Kamm's avatar Christian Kamm

QmlJS: Set default import paths in constructor.

Also, remove the import path of the Qt that Creator was built with. It
might make things seem to work on built-from-source Creators that will
fail when Creator is shipped.

Reviewed-by: Erik Verbruggen
parent 5d93717c
......@@ -74,7 +74,7 @@ ModelManager::ModelManager(QObject *parent):
loadQmlTypeDescriptions();
m_defaultImportPaths << environmentImportPaths();
m_defaultImportPaths << QLibraryInfo::location(QLibraryInfo::ImportsPath);
updateImportPaths();
}
void ModelManager::loadQmlTypeDescriptions()
......
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