[Qt-creator] Refreshing the project tree

Orgad Shaneh orgads at gmail.com
Tue Sep 17 10:46:43 CEST 2013


On Mon, Sep 16, 2013 at 9:24 PM, André Pönitz <
andre.poenitz at mathematik.tu-chemnitz.de> wrote:

> >     Giving the discussion I wonder whether this should simply be forced
> >     when running Build->Run qmake explicitly.
> >
> >     This should ease Alfonso's pain and not really hurt other uses.
> >
> >
> > I disagree. We have a project with thousands of files, and the
> "Evaluating"
> > phase takes at least 10-15 seconds (not to mention the subsequent
> Parsing).
>
> How often do you manually trigger that action? (Serious question, I barely
> use it, but then I regularly build from the command line)


Actually not much. Still, it isn't intuitive.


> > I wouldn't want to reparse the project every time I run qmake.
> >
> > That said, it would be very useful for us as well to have an action for
> > reparsing the project. We use wildcards for source files as well as INI
> files
> > (in OTHER_FILES).
>
> A separate options sounds ok, too, it'd just looks like a bit of clutter in
> a top-level menu for a rare use case.
>
> What about yet another checkbox in the global Build&Run settings?
>

That will do what? Add the menu entry?

Might it be possible to detect wildcards then use a filesystemwatcher for
the relevant directories? Sounds reasonable for qmake projects, harder for
qbs projects (which may contains **/*)

- Orgad
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/qt-creator/attachments/20130917/37a5aad0/attachment.html>


More information about the Qt-creator mailing list