Hi, I also though this was a bug or something.
It would be nice to have an option to disable this, if this is a feature. I can see how this can be interesting for some developers, and that they would like to see it. But in the case where one has a very large project with a lot of conditional includes it clutters the project tree with unneeded files. Especially when developing on a project with sub-projects. I have gotten used to working like this, so this is not a problem, but a setting would be nice. PS: It also took me a while to figure out that it was just Creator that shows everything and not my pro/pri files that were incorrect. I did spend a lot of time trying to debug my project files... Regards, Carel On Thu, Nov 22, 2012 at 10:37 AM, Orgad Shaneh <[email protected]> wrote: > On Thu, Nov 22, 2012 at 10:11 AM, Christoph Mathys <[email protected]>wrote: > >> Which parts of qmake-files does QtCreator consider? Some libraries >> inside our project are optional, the .pro-file has clauses like this: >> >> exists(libOptional/libOptional.pro) { >> SUBDIRS += libOptional >> } >> >> This is perfectly fine with qmake, but QtCreator complains regularly: >> Could not find .pro file for sub dir 'libOptional' in '$<PROJECTDIR>' >> >> This alone is a minor annoyance, but I suspect that this leads >> QtCreator to reparse the entire source tree if I hit Ctrl+B. Is there >> a way to include optional stuff that will allow QtCreator to "get it"? >> >> Christoph >> _______________________________________________ >> Qt-creator mailing list >> [email protected] >> http://lists.qt-project.org/mailman/listinfo/qt-creator >> > > It is only parsed for UI reasons (entries in conditions that are > unsatisfied are usually still interesting for the user, they should be > displayed on the project view). It doesn't affect the build process. > > - Orgad > > _______________________________________________ > Qt-creator mailing list > [email protected] > http://lists.qt-project.org/mailman/listinfo/qt-creator > >
_______________________________________________ Qt-creator mailing list [email protected] http://lists.qt-project.org/mailman/listinfo/qt-creator
