Solved options for filtering build logs?
-
my build log looks like this:
not very useful. I don't need to see the compiler invocation and it's myriad options per file, i really don't care about that info.what i'd like to see instead is JUST the name of the file being compiled
is there a way to do that?
-
@mrjj said in options for filtering build logs?:
CONFIG+=SILENT
well that seems to work.
i guess i'm not sure what you mean by the "errors parser" cuz i introduced a compile error just to see what would happen, and the "Issues" panel showed it correctly
-
try to add "-silent" to your qmake-call..
-
-
@Gerd and where, exactly, do i add "-silent"? if i add that to the "additional arguments" it just causes a build error
and if i add that, do i still see the progress of each file? or is the build now COMPLETELY silent?
-
@aha_1980 i use Creator, so that doesn't seem useful?
-
@davecotter but it's either or. you can't have both.
-
i don't want SILENT builds, i just want each file's invocation log to say the name of the file, not the entire invocation string. is there a way to do that? if i build Qt Creator myself can i do that?
-
@davecotter and that's exactly what the config option does - print only file names.
And that does not look like Creators error parser expects it, hence I mentioned it.
Why don't you simply try it?
-
where do i put this "-silent" thing?
-
@davecotter
Hi
Try
CONFIG+=SILENT to the .pro file. -
@mrjj said in options for filtering build logs?:
CONFIG+=SILENT
well that seems to work.
i guess i'm not sure what you mean by the "errors parser" cuz i introduced a compile error just to see what would happen, and the "Issues" panel showed it correctly
-
@davecotter
Ok. cool. and you can still click on error and go to the line? -
@mrjj said in options for filtering build logs?:
and you can still click on error and go to the line?
yup
-
@davecotter said in options for filtering build logs?:
well that seems to work.
excellent! thank you for sharing. Time to mark the post as solved?