forked from qt-creator/qt-creator
Utils: Fix process stub look-up.
The path where the tools are located has changed. Task-number: QTCREATORBUG-14732 Change-Id: Idb404b291ef651d2c0f03bce454b9aa0c0319183 Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com> Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>
This commit is contained in:
@@ -151,12 +151,8 @@ bool ConsoleProcess::start(const QString &program, const QString &args)
|
||||
}
|
||||
}
|
||||
|
||||
QString stubPath = QCoreApplication::applicationDirPath();
|
||||
if (HostOsInfo::isMacHost())
|
||||
stubPath.append(QLatin1String("/../Resources/qtcreator_process_stub"));
|
||||
else
|
||||
stubPath.append(QLatin1String("/qtcreator_process_stub"));
|
||||
|
||||
const QString stubPath = QCoreApplication::applicationDirPath()
|
||||
+ QLatin1String("/" QTC_REL_TOOLS_PATH "/qtcreator_process_stub");
|
||||
QStringList allArgs = xtermArgs.toUnixArgs();
|
||||
allArgs << stubPath
|
||||
<< modeOption(d->m_mode)
|
||||
|
||||
Reference in New Issue
Block a user