Modules may contribute include paths to a Product's build.
however, with some bad luck, the addition of a path may lead to a source including a wrong header, or the wrong version of it. this is particularly likely when an external module adds a path which is shared with other modules, or a path that contains a different version of a Module which is also part of the project.
to avoid this situation, qbs should order the include paths in a way which ensures that the right headers are found first. if such an arrangement is impossible, it should error out.
obviously, to identify conflicts, qbs needs some "sentinels". these should be specific headers which are deemed likely (or are known) to cause conflicts, e.g. config.h and such.
a particularly elaborate syntax would look like this:
which would be processed into:
the second form is less magic, but also more verbose.