Commit 322c5378 authored by Kai Koehne's avatar Kai Koehne
Browse files

QmlCppDebugging: Make sure command line args have spaces in between

parent d360aa06
......@@ -53,6 +53,7 @@
#include <utils/synchronousprocess.h>
#include <utils/qtcassert.h>
#include <utils/fancymainwindow.h>
#include <utils/qtcprocess.h>
#include <coreplugin/icore.h>
#include <QtCore/QDir>
......@@ -628,8 +629,8 @@ static DebuggerStartParameters localStartParameters(RunConfiguration *runConfigu
sp.projectBuildDir = runConfiguration->target()
->activeBuildConfiguration()->buildDirectory();
sp.processArgs.append(QLatin1String("-qmljsdebugger=port:")
+ QString::number(sp.qmlServerPort));
Utils::QtcProcess::addArg(&sp.processArgs, QLatin1String("-qmljsdebugger=port:")
+ QString::number(sp.qmlServerPort));
}
// FIXME: If it's not yet build this will be empty and not filled
......
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