The treatment of qbsSearchPath is inconsistent. Consider this Qbs project as an example:
In addition, there is a "qbs" directory, an "imports" subdirectory, and a file MyCppApplication.qbs within "imports":
Like in the example, I would expect that qbsSearchPath expansion is available within the Item where the path is defined, and in all items refered to from there. But this doesn't work. Instead, Qbs throws a message "Unexpected item type 'MyCppApplication'.
The attached archive provides a self-contained project showing this behavior (see NotWorking.qbs).
|For Gerrit Dashboard: QBS-667|
|294606,5||doc: Add info about first capital letter in custom items file names||1.16||qbs/qbs||Status: MERGED||+2||-1|