forked from qt-creator/qt-creator
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
This commit is contained in:
@@ -74,7 +74,7 @@ ModelManager::ModelManager(QObject *parent):
|
||||
loadQmlTypeDescriptions();
|
||||
|
||||
m_defaultImportPaths << environmentImportPaths();
|
||||
m_defaultImportPaths << QLibraryInfo::location(QLibraryInfo::ImportsPath);
|
||||
updateImportPaths();
|
||||
}
|
||||
|
||||
void ModelManager::loadQmlTypeDescriptions()
|
||||
|
||||
Reference in New Issue
Block a user