diff options
author | Christian Kandeler <christian.kandeler@qt.io> | 2020-04-22 10:46:09 +0200 |
---|---|---|
committer | Christian Kandeler <christian.kandeler@qt.io> | 2020-04-28 08:45:49 +0000 |
commit | d3be54bcd1c7f77f6714c3161077fabf1da1ded1 (patch) | |
tree | 87a6046bc709dab35acc28e15262f27dbdb53e35 /src/plugins/projectexplorer/runcontrol.h | |
parent | 9f92acf223028114deba1b3ffea94be28b9173f8 (diff) |
QtSupport: Add QtTestParser to the list of output formatters
... when creating a run control for a Qt project. Now tasks will appear
in the issues pane for QtTest application output in the app output pane.
Task-number: QTCREATORBUG-22665
Change-Id: I2674f3d4f9aabc0a4db4178dcd5495b822f14022
Reviewed-by: hjk <hjk@qt.io>
Diffstat (limited to 'src/plugins/projectexplorer/runcontrol.h')
-rw-r--r-- | src/plugins/projectexplorer/runcontrol.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/plugins/projectexplorer/runcontrol.h b/src/plugins/projectexplorer/runcontrol.h index cd537c3466..242f3b3b15 100644 --- a/src/plugins/projectexplorer/runcontrol.h +++ b/src/plugins/projectexplorer/runcontrol.h @@ -312,10 +312,11 @@ public: static QList<Utils::OutputLineParser *> createFormatters(Target *target); protected: - void setFormatterCreator(const std::function<Utils::OutputLineParser *(Target *)> &creator); + using FormatterCreator = std::function<QList<Utils::OutputLineParser *>(Target *)>; + void setFormatterCreator(const FormatterCreator &creator); private: - std::function<Utils::OutputLineParser *(Target *)> m_creator; + FormatterCreator m_creator; }; } // namespace ProjectExplorer |