forked from qt-creator/qt-creator
unscrew argument quoting in qtcbuildhelper call
Change-Id: I4f389e32d540d49e886e7db02b6332d2ad2372f7 Reviewed-on: http://codereview.qt.nokia.com/2916 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Joerg Bornemann <joerg.bornemann@nokia.com>
This commit is contained in:
committed by
Joerg Bornemann
parent
f50bea96a5
commit
72465c45e3
@@ -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)) {
|
||||
|
||||
Reference in New Issue
Block a user