Integrate gcc-9 pretty formatting of compile output into QT creator ?
Unsolved
General and Desktop
-
I would like to integrate the new gcc ouput feature: -fdiagnostics-format=json.
For this I would like to redirect the gcc output to a pipe. I couldnd find a way of doing this.
The ultimate goal would be to execute the line
$ (gcc-9 -c file.c -Wall -fdiagnostics-format=json 2>&1) | python -m json.tool | pygmentize -l json
and have the output formatted (like in https://developers.redhat.com/blog/2019/03/08/usability-improvements-in-gcc-9/)Is the gcc feature too new for the current qt creator or Im missing an important qt ability to do this?
Regarrds,