Debugger: Use QtcProcess instead of QProcess for LLDB

More similar to what GDB does.

Change-Id: I2c5e952261119f04a515f8b8e79a66c397bff6df
Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
This commit is contained in:
hjk
2015-06-05 12:31:39 +02:00
parent 9890ddfc9a
commit 9af735e2ae
2 changed files with 5 additions and 3 deletions

View File

@@ -253,11 +253,12 @@ void LldbEngine::startLldb()
this, &LldbEngine::handleResponse, Qt::QueuedConnection);
showMessage(_("STARTING LLDB: ") + m_lldbCmd);
m_lldbProc.setEnvironment(runParameters().environment.toStringList());
m_lldbProc.setEnvironment(runParameters().environment);
if (!runParameters().workingDirectory.isEmpty())
m_lldbProc.setWorkingDirectory(runParameters().workingDirectory);
m_lldbProc.start(m_lldbCmd);
m_lldbProc.setCommand(m_lldbCmd, QString());
m_lldbProc.start();
if (!m_lldbProc.waitForStarted()) {
const QString msg = tr("Unable to start LLDB \"%1\": %2")