diff options
author | David Kaspar <dkaspar@blackberry.com> | 2013-11-14 09:11:25 +0100 |
---|---|---|
committer | David Kaspar <dkaspar@blackberry.com> | 2013-11-14 09:28:04 +0100 |
commit | efe2f64efe41c3c9ee02c245cae061c3afe4028f (patch) | |
tree | 8aa4e1ea611c3f886467a81df5355b045b684d62 /src/plugins/qnx/slog2inforunner.h | |
parent | 267ffecb4b08d6028c2884f3c3398b741b619954 (diff) | |
download | qt-creator-efe2f64efe41c3c9ee02c245cae061c3afe4028f.tar.gz |
Qnx: Fixing slog2info messages printing
Slog2InfoRunner class now more properly parses the slog2info output
including datetime, applicationid filtering, buffer-name, buffer-id.
Task-number: QTCREATORBUG-10646
Task-number: QTCREATORBUG-10712
Change-Id: I71aaf6b9b3ff1da16d3c46065a1dc5125dc1503e
Reviewed-by: Tobias Nätterlund <tobias.naetterlund@kdab.com>
Reviewed-by: Nicolas Arnaud-Cormos <nicolas@kdab.com>
Reviewed-by: David Kaspar <dkaspar@blackberry.com>
Diffstat (limited to 'src/plugins/qnx/slog2inforunner.h')
-rw-r--r-- | src/plugins/qnx/slog2inforunner.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/plugins/qnx/slog2inforunner.h b/src/plugins/qnx/slog2inforunner.h index 9728f3aa7b..a634c6abd0 100644 --- a/src/plugins/qnx/slog2inforunner.h +++ b/src/plugins/qnx/slog2inforunner.h @@ -38,6 +38,7 @@ #include <utils/outputformat.h> #include <QDateTime> +#include <QByteArray> namespace ProjectExplorer { class SshDeviceProcess; @@ -75,7 +76,8 @@ private slots: private: void readLaunchTime(); - bool showQtMessage(const QString &pattern, const QString &line); + void processLog(bool force); + void processLogLine(const QString &line); QString m_applicationId; @@ -83,6 +85,7 @@ private: QDateTime m_launchDateTime; bool m_currentLogs; + QString m_remainingData; ProjectExplorer::SshDeviceProcess *m_launchDateTimeProcess; ProjectExplorer::SshDeviceProcess *m_testProcess; |