Question

In my qmake-pro-file, I use something like SOURCES = $$files(*.cpp) which expresses exactly what I want and works great when I do qmake && make. However, when I work with QtCreator and when I add or rename some file, how can I get QtCreator to update the file list? I currently must restart QtCreator.

Was it helpful?

Solution

AFAIK, the only ways you can force qt-creator to re-parse the pro file is by either touching the pro file (i.e. $ touch project.pro), or by re-saving the pro file (i.e. by adding a random space somewhere, removing it again and saving the file).

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top