diff options
Diffstat (limited to 'src/plugins/qnx/qnxruncontrol.cpp')
-rw-r--r-- | src/plugins/qnx/qnxruncontrol.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/plugins/qnx/qnxruncontrol.cpp b/src/plugins/qnx/qnxruncontrol.cpp index 0f717d83be..53a32ac8e8 100644 --- a/src/plugins/qnx/qnxruncontrol.cpp +++ b/src/plugins/qnx/qnxruncontrol.cpp @@ -58,6 +58,8 @@ QnxRunControl::QnxRunControl(ProjectExplorer::RunConfiguration *runConfig) m_slog2Info = new Slog2InfoRunner(applicationId, qnxDevice, this); connect(m_slog2Info, SIGNAL(output(QString,Utils::OutputFormat)), this, SLOT(appendMessage(QString,Utils::OutputFormat))); connect(this, SIGNAL(started()), m_slog2Info, SLOT(start())); + if (qnxDevice->qnxVersion() > 0x060500) + connect(m_slog2Info, SIGNAL(commandMissing()), this, SLOT(printMissingWarning())); } ProjectExplorer::RunControl::StopResult QnxRunControl::stop() @@ -65,3 +67,8 @@ ProjectExplorer::RunControl::StopResult QnxRunControl::stop() m_slog2Info->stop(); return RemoteLinuxRunControl::stop(); } + +void QnxRunControl::printMissingWarning() +{ + appendMessage(tr("Warning: \"slog2info\" is not found on the device, debug output not available!"), Utils::ErrorMessageFormat); +} |