[Qt-creator] OutputTaskParser

Knut Petter Svendsen knutpett+qtcreator at pvv.org
Tue Aug 22 17:13:52 CEST 2023


My build system utilizes the GccParser to identify compiler errors, and
that works fine. However, I'm currently exploring an approach to "patch"
the filepaths associated with the created tasks. I've been considering
subclassing the GccParser, but most of it is private. If only
createOrAmendTask() was protected it might have been possible. flush() is
virtual, but it can't access the private data.

Are you aware of any elegant way to achieve this goal, or am I required to
duplicate the code?

If I create my own parser which duplicates, I would have to ensure
GccParser is not active or else I would end up with duplicate issues in
the taskhub, right?

Knut



More information about the Qt-creator mailing list