forked from qt-creator/qt-creator
Handle application output that comes over TRK.
This commit is contained in:
@@ -581,6 +581,7 @@ void S60DeviceRunControl::signsisProcessFinished()
|
||||
connect(m_adapter, SIGNAL(installingStarted()), this, SLOT(printInstallingNotice()));
|
||||
connect(m_adapter, SIGNAL(startingApplication()), this, SLOT(printStartingNotice()));
|
||||
connect(m_adapter, SIGNAL(applicationRunning(uint)), this, SLOT(printRunNotice(uint)));
|
||||
connect(m_adapter, SIGNAL(applicationOutputReceived(QString)), this, SLOT(printApplicationOutput(QString)));
|
||||
|
||||
//TODO sisx destination and file path user definable
|
||||
m_adapter->setTrkServerName(m_serialPortName);
|
||||
@@ -620,6 +621,11 @@ void S60DeviceRunControl::printRunNotice(uint pid)
|
||||
emit addToOutputWindow(this, tr("Application running with pid %1.").arg(pid));
|
||||
}
|
||||
|
||||
void S60DeviceRunControl::printApplicationOutput(const QString &output)
|
||||
{
|
||||
emit addToOutputWindowInline(this, output);
|
||||
}
|
||||
|
||||
void S60DeviceRunControl::runFinished()
|
||||
{
|
||||
m_adapter->deleteLater();
|
||||
|
||||
Reference in New Issue
Block a user