On Thu, Sep 12, 2013 at 07:56:57PM -0700, achart...@fastmail.fm wrote:
> Hello,
> 
> My team and I find it very convenient to use wildcards in defining
> HEADERS and SOURCES:
> 
> HEADERS += $$files(*.h)
> SOURCES += $$files(*.cpp)
> 
> Unfortunately, when we add a new header or source file, the Qt Creator
> project tree needs to be manually refreshed to show the new file(s). I
> usually do this by going to the .pro file, adding a space, deleting a
> space and saving the file.
> 
> Is there a better/more "official" way of refreshing the project tree?

The official way is indeed to list the files explicitly, and not use the
glob facility.

> I looked through the Qt Creator menus and couldn't find anything. A way to
> trigger a project tree refresh through a keyboard shortcut would be even
> better.

Would explicitly running "Build->Run qmake" help?

Andre'
_______________________________________________
Qt-creator mailing list
Qt-creator@qt-project.org
http://lists.qt-project.org/mailman/listinfo/qt-creator

Reply via email to