QmlJSDumper: improve d1041cc967

We have to use --notrelocatable in all cases
This commit is contained in:
Thomas Hartmann
2011-03-21 14:49:06 +01:00
parent c6e8b23702
commit 5426c3ac2c

View File

@@ -275,8 +275,8 @@ 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 << "--notrelocatable ";
args << QLatin1String("--path");
args << plugin.importPath;
if (ComponentVersion(plugin.importVersion).isValid())