[Qbs] Setting properties for all products

Björn Schäpers qt-maillist at hazardy.de
Wed May 29 21:29:32 CEST 2024


But I still need all products to use the module.

Currently I just have all the options within the module and switch depending on 
qbs.architecture.

Am 29.05.2024 um 18:12 schrieb Иван Комиссаров:
> You can put the other_project_buildconfig module in your projects search paths 
> - that way it will override subproject module.
>
> Here QtC overrides Qbs buildconfig 
> https://github.com/qt-creator/qt-creator/blob/master/qbs/modules/qbsbuildconfig/qbsbuildconfig.qbs
>
> However, this requires some discipline from subprojects.
>
>
>> 29 мая 2024 г., в 01:25, Richard Weickelt <richard at weickelt.de> написал(а):
>>
>>
>> That solution breaks as soon as you include other Qbs projects that are not 
>> under your control as sub-projects.
>>
>> I still find a global Preference item useful or a default-dependencies 
>> property in the project item that attaches a module dependency to all products.
>>
>> Richard
>>
>> _______________________________________________
>> Qbs mailing list
>> Qbs at qt-project.org
>> https://lists.qt-project.org/listinfo/qbs
>
>
> _______________________________________________
> Qbs mailing list
> Qbs at qt-project.org
> https://lists.qt-project.org/listinfo/qbs



More information about the Qbs mailing list