OSDN Git Service

QmlJSDumper: improve d1041cc9676e3074d1f099238fde0e16e4aef704
authorThomas Hartmann <Thomas.Hartmann@nokia.com>
Mon, 21 Mar 2011 13:49:06 +0000 (14:49 +0100)
committerThomas Hartmann <Thomas.Hartmann@nokia.com>
Mon, 21 Mar 2011 13:49:26 +0000 (14:49 +0100)
We have to use --notrelocatable in all cases

src/plugins/qmljstools/qmljsplugindumper.cpp

index f6b8d6a..c4cc381 100644 (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())