> I'm tuning to move my codebase to qbs and qt creator. > I've noticed that if I generate any property that belongs to Product in > .qbs file by JS script it's going to be cached by QtCreator. > The only one way to force reload the cache is change something in the > .qbs file. > > Simple example is: > Product { > files: { > return JSON.parse(projectInfo.readAll()).files; > } > } > > Is there any way to force QtCreator re-execute all .qbs files in the > project?
Is projectInfo a file? If so, you could call lastModified() on it. On the next reparse, qbs will compare the results of that call and re-parse the project if they differ. Christian _______________________________________________ Qt-creator mailing list Qt-creator@qt-project.org http://lists.qt-project.org/mailman/listinfo/qt-creator