Commit 27d5e309 authored by Fawzi Mohamed's avatar Fawzi Mohamed Committed by Fawzi Mohamed
Browse files

qmljs: ignore dump errors on initial scan

Change-Id: I7dd5d472148244116bf3d5e3dcc55e74f2c8f203
Reviewed-by: default avatarTim Jenssen <>
Reviewed-by: default avatarFawzi Mohamed <>
parent 2c0125f6
......@@ -435,6 +435,9 @@ void PluginDumper::dump(const Plugin &plugin)
if (plugin.importUri.isEmpty())
return; // initial scan without uri, ignore
if (!info.tryQmlDump || info.qmlDumpPath.isEmpty()) {
if (!libraryInfo.isValid())
......@@ -459,8 +462,6 @@ void PluginDumper::dump(const Plugin &plugin)
connect(process, SIGNAL(finished(int)), SLOT(qmlPluginTypeDumpDone(int)));
connect(process, SIGNAL(error(QProcess::ProcessError)), SLOT(qmlPluginTypeDumpError(QProcess::ProcessError)));
QStringList args;
if (plugin.importUri.isEmpty())
return; // dumping with --path always fails
if (info.qmlDumpHasRelocatableFlag)
args << QLatin1String("-nonrelocatable");
args << plugin.importUri;
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