Creator doesn't "--keep-going"
-
I have dozens of project open, and want to build all of them (to get a full error list). If Creator gets stuck with errors in a project, it should at least try to build the other ones.
Therefore, I added "--keep-going" to all project make arguments (I am using Mingw 5.3.0).
However, Creator stops on a linker error in the 1st project. Note that all the projects are independent of each other, so I don't see why Creator stops.Any suggestions?
-
I have dozens of project open, and want to build all of them (to get a full error list). If Creator gets stuck with errors in a project, it should at least try to build the other ones.
Therefore, I added "--keep-going" to all project make arguments (I am using Mingw 5.3.0).
However, Creator stops on a linker error in the 1st project. Note that all the projects are independent of each other, so I don't see why Creator stops.Any suggestions?
@Asperamanca said in Creator doesn't "--keep-going":
I have dozens of project open, and want to build all of them (to get a full error list)
how do you exactly tell QtCreator to build all of your opened projects?!?
-
Build menu -> Build all
-
Build menu -> Build all
@Asperamanca
ah k.
Anyways i think this is a flavor of QtCreator to stop on errors between the projects. And somehow this makes sense, since you most probably would just run into errors anyway when this project is a dependency of another project.
The--keep-going
is a makefile option so is only applied project internally. -
@Asperamanca
ah k.
Anyways i think this is a flavor of QtCreator to stop on errors between the projects. And somehow this makes sense, since you most probably would just run into errors anyway when this project is a dependency of another project.
The--keep-going
is a makefile option so is only applied project internally.@raven-worx
It doesn't make sense in my case, because each project builds an independent static library. Since I am upgrading a lot of code using search & replace, life would be much easier if I could go through one single big error list over all project, instead of working one project at a time. -
Hi
You could insert --keep-going
in all the projects and sort of get that effect. -
That's what I do, and after upgrading from Creator 4.1.0 to 4.5.0 it no longer seems to work. Or the problem is unrelated to the version, and I just have a case where Creator stops for some other reason. But how do I find that out?
-
That's what I do, and after upgrading from Creator 4.1.0 to 4.5.0 it no longer seems to work. Or the problem is unrelated to the version, and I just have a case where Creator stops for some other reason. But how do I find that out?
@Asperamanca said in Creator doesn't "--keep-going":
Or the problem is unrelated to the version, and I just have a case where Creator stops for some other reason. But how do I find that out?
I guess Creator stops building once a make process exits with errorlevel != 0. I don't know if that was different in earlier releases, but in 4.5 I see "Dependencies" in the Project Settings (Project in the left bar). Maybe your problem is a result of this feature.
I could imagine another checkbox "no dependencies between projects" there to continue building even if one project fails.
-
@Asperamanca said in Creator doesn't "--keep-going":
Or the problem is unrelated to the version, and I just have a case where Creator stops for some other reason. But how do I find that out?
I guess Creator stops building once a make process exits with errorlevel != 0. I don't know if that was different in earlier releases, but in 4.5 I see "Dependencies" in the Project Settings (Project in the left bar). Maybe your problem is a result of this feature.
I could imagine another checkbox "no dependencies between projects" there to continue building even if one project fails.
@aha_1980
Thanks for pointing that out. However, the project that stops the build has no dependencies set. -
@aha_1980
Thanks for pointing that out. However, the project that stops the build has no dependencies set.Hi
if not too much hassle, it would be great to test with the
older Creator to know if it then works again or still broken. -
@Asperamanca said in Creator doesn't "--keep-going":
Thanks for pointing that out. However, the project that stops the build has no dependencies set.
Yes, but I guess Creator tracks the build success for each project to enable that function. As @mrjj said, please re-try with an older version.
Then you could file a suggestion on bugreports.qt.io - I simply guess you're the first one demanding this.
Edit: If you create a bugreport, then please provide a link here. Thanks
-
Well, the online installer is good at replacing the old Creator versions. But no matter, I can easily reproduce it using a couple of Qt samples, so I have raised it to Qt support. Thank you all for your inputs - makes me feel I haven't missed something too obvious, before writing a support ticket.
-
Here's the result: https://bugreports.qt.io/browse/QTCREATORBUG-19697
However, it's considered a suggestion, not a bug.