Commit 72465c45 authored by Oswald Buddenhagen's avatar Oswald Buddenhagen Committed by Joerg Bornemann

unscrew argument quoting in qtcbuildhelper call

Change-Id: I4f389e32d540d49e886e7db02b6332d2ad2372f7
Reviewed-on: http://codereview.qt.nokia.com/2916Reviewed-by: default avatarQt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: default avatarJoerg Bornemann <joerg.bornemann@nokia.com>
parent f50bea96
......@@ -666,11 +666,14 @@ void QtcProcess::start()
QString command;
#ifdef Q_OS_WIN
QString arguments;
QStringList argList;
prepareCommand(m_command, m_arguments, &command, &arguments, &env, &workDir);
setNativeArguments(arguments);
if (m_useCtrlCStub)
command.prepend(QLatin1Char('"') + QCoreApplication::applicationDirPath() + QLatin1String("/qtcbuildhelper.exe\" "));
QProcess::start(command, QStringList());
if (m_useCtrlCStub) {
argList << command;
command = QCoreApplication::applicationDirPath() + QLatin1String("/qtcbuildhelper.exe"));
}
QProcess::start(command, argList);
#else
QStringList arguments;
if (!prepareCommand(m_command, m_arguments, &command, &arguments, &env, &workDir)) {
......
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