[Qt-creator] Disabling auto-reload of qbs files

Christian Kandeler christian.kandeler at qt.io
Wed Nov 22 10:57:49 CET 2017


On Wed, 22 Nov 2017 17:27:11 +1300
Christian Gagneraud <chgans at gmail.com> wrote:

> When i work with QtC and qbs, and i need to tweak my qbs files, Qtc 
> auto-reload my project each time I save a qbs file, which in my case 
> means ca. 1 minute of un-usability.

First of all, that seems too long. Can you please file a task and assign it to me? I'll provide you with instructions on how to see where the time is spent. (Chances are it's somewhere else in Creator, as project resolving happens in its own thread and should thus not freeze the GUI).

> I would prefer to edit and save my qbs files as I wish, and then 
> explicitly tell QtC to "re-run qbs".
> 
> I think the auto-reload is very useful on small project, but is not 
> desirable on big projects. It would be nice to have an option somewhere 
> to control this behaviour.
> 
> Any comment on this feature request? I'm sure I'm not the only one to be 
> "hit" by this.

Independent of the build system, there are certain cases where the "auto-reload" functionality is annoying, e.g. when you type in a new build directory (there is a delay, but it only helps so much). On the other hand, suppose you could switch that off via some hypothetical checkbox. If you then forget to manually reload, Creator will have an outdated view of the project, which may result in surprising behavior e.g. regarding the code model, in turn leading to bogus bug reports. That's not to be underestimated.


Christian



More information about the Qt-creator mailing list