Commit c44cffa4 authored by Fawzi Mohamed's avatar Fawzi Mohamed

qmljs: eagerly import library typeinfo

Change-Id: I599b84e9938d021343cca1cdb7d54d53155eaf91
Reviewed-by: default avatarFawzi Mohamed <>
parent 26a9f01d
......@@ -749,6 +749,8 @@ static bool findNewQmlLibraryInPath(const QString &path,
const QString libraryPath = QFileInfo(qmldirFile).absolutePath();
modelManager->updateLibraryInfo(libraryPath, LibraryInfo(qmldirParser));
modelManager->loadPluginTypes(QFileInfo(libraryPath).canonicalFilePath(), libraryPath,
QString(), QString());
// scan the qml files in the library
foreach (const QmlDirParser::Component &component, qmldirParser.components()) {
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