[Qt-creator] Clickable gcc output to go to error location

Tobias Hunger tobias.hunger at nokia.com
Fri Feb 5 12:15:28 CET 2010


Hello Daniel!

Ah, this explains things:

daniel-dev:GEOROG-2598> make jam > output.txt
daniel-dev:GEOROG-2598> cat output.txt | grep ": warning" | head -n 1
GEOROG-2598/GeoROG/GCore/GCore.cpp:131:2: warning: #warning Product name 
has not been set in the Makefile! Setting to "UMC 3D"

We expect GCC to report errors and warnings on stderr! Maybe bjam is 
redirecting them to stdout?

A dirty hack would be to change the Makefile to redirect all output from 
bjam from stdout to stderr... Of course we would also welcome you to 
contribute a bjam buildstep for the genericproject:-) That way you could 
add a parser for any issues reported by the bjam buildsystem as well.

Best Regards,
Tobias



More information about the Qt-creator-old mailing list