[QBS] Merging exported cpp properties

Christian Kandeler christian.kandeler at theqtcompany.com
Wed Jul 15 17:48:17 CEST 2015

On 07/13/2015 06:10 PM, Ilya Lyubimov wrote:
> I found that new version of qbs now merges identical compiler flags in
> dependent products. This removes duplicated flags, but unfortunately
> it doesn't work properly for flags consisting of two strings, for
> example "-arch i386 -arch x86_64" becomes "-arch i386 x86_64". This
> behaviour was introduced in 16404c356b0e160243de315c48975a82cc343893.
> I can fix it locally by removing "lst.removeDuplicates();" from
> insertExportedModuleProperties function in projectresolver.cpp. But I
> don't know the proper way for solving this issue.

Yeah, merging list properties is an "interesting" problem in general. 
This particular issue should disappear as a side effect of a patch that 
is currently in progress and will fix a whole bunch of Export-related bugs.


More information about the Qbs mailing list