[Qt-creator] Refreshing the project tree

Orgad Shaneh orgads at gmail.com
Mon Sep 16 20:03:38 CEST 2013


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

> On Mon, Sep 16, 2013 at 09:32:58AM +0000, Hunger Tobias wrote:
> > > Currently running qmake doesn't seem to update the project tree. If
> > > running qmake did update it, that would be fine. I don't know if there
> > > are other use cases where it may be desirable (or clearer) to have a
> > > separate explicit "refresh project tree" button available.
> >
> > That is correct: I am not aware of forcing a reparse short of touching a
> > .pro file. [...]
> > Or are you relying on wildcards here? That would be strange, considering
> > that you generate the code and could just add it to the .pro files while
> > at it anyway.  But even with wildcards it should be trivial to just touch
> > any .pro/.pri file.
>
> 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).

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).

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


More information about the Qt-creator mailing list