Commit 5426c3ac authored by Thomas Hartmann's avatar Thomas Hartmann
Browse files

QmlJSDumper: improve d1041cc9

We have to use --notrelocatable in all cases
parent c6e8b237
...@@ -275,8 +275,8 @@ void PluginDumper::dump(const Plugin &plugin) ...@@ -275,8 +275,8 @@ void PluginDumper::dump(const Plugin &plugin)
connect(process, SIGNAL(finished(int)), SLOT(qmlPluginTypeDumpDone(int))); connect(process, SIGNAL(finished(int)), SLOT(qmlPluginTypeDumpDone(int)));
connect(process, SIGNAL(error(QProcess::ProcessError)), SLOT(qmlPluginTypeDumpError(QProcess::ProcessError))); connect(process, SIGNAL(error(QProcess::ProcessError)), SLOT(qmlPluginTypeDumpError(QProcess::ProcessError)));
QStringList args; QStringList args;
args << QLatin1String("--notrelocatable");
if (plugin.importUri.isEmpty()) { if (plugin.importUri.isEmpty()) {
args << "--notrelocatable ";
args << QLatin1String("--path"); args << QLatin1String("--path");
args << plugin.importPath; args << plugin.importPath;
if (ComponentVersion(plugin.importVersion).isValid()) if (ComponentVersion(plugin.importVersion).isValid())
......
Supports Markdown
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