QmlJS: Fix library-by-path imports.

Fixes the problem 5426c3ac2c and
7b25f438c6 worked around.

Reviewed-by: Erik Verbruggen
This commit is contained in:
Christian Kamm
2011-04-20 10:46:04 +02:00
parent e40a0ca990
commit e21311132b
4 changed files with 87 additions and 39 deletions

View File

@@ -281,7 +281,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;
args << QLatin1String("--notrelocatable");
if (plugin.importUri.isEmpty()) {
args << QLatin1String("--path");
args << plugin.importPath;