[Solved] How to make Creator compile all files, even with errors?
-
Creator (Win7, MinGW) seems to stop compilation after encountering certain errors. How can I make it to at least try and compile every file in the project, to collect a more complete list of errors?
-
Hi,
AFAIK you can't, except by building with -j X (where X is the number of parallel build launched) and repeat until you only have errors
-
Ouch. This is so easy with the VC compiler.
-
I may wrong though, you could ask it on the qtcreator mailing list, they might have a better answer to this one
-
The option '--keep-going' or '-k' should do it. How do I set this option globally, so that Creator compiles all my project using it?
-
Not tested but:
Options -> build and run -> Compilers
Clone your compiler of interest, and add it to Platform codegen flagsUpdate your kit to use that compiler
-
I didn't get the "add it to Platform codegen flags" part.
But I did find a way that works:
Set MAKEFLAGS="--keep-going" prior to starting Creator. -
We might be using different version of Qt Creator, what is yours ?
-
2.8.0
-
It looks like it might be something new in Qt Creator 3
-
Looking forward to it. Thanks!