Add error reporting if executable is not found for external tool.

This commit is contained in:
con
2011-03-22 13:37:19 +01:00
parent 90f7ab49a6
commit 1a65809008
2 changed files with 37 additions and 5 deletions

View File

@@ -135,6 +135,9 @@ public:
ExternalToolRunner(const ExternalTool *tool);
~ExternalToolRunner();
bool hasError() const;
QString errorString() const;
private slots:
void started();
void finished(int exitCode, QProcess::ExitStatus status);
@@ -157,6 +160,8 @@ private:
QTextCodec::ConverterState m_errorCodecState;
QString m_processOutput;
QString m_expectedFileName;
bool m_hasError;
QString m_errorString;
};
} // Internal