[Development] Qt 6 buildsystem support requirements

Lars Knoll lars.knoll at qt.io
Thu Aug 2 08:40:40 CEST 2018


> On 2 Aug 2018, at 08:38, BogDan Vatra via Development <development at qt-project.org> wrote:
> 
> Hi
> În ziua de joi, 2 august 2018, la 09:33:10 EEST, Joerg Bornemann a scris:
>> On 08/02/2018 08:18 AM, Simon Hausmann wrote:
>>> Given that the output of the moc changes depending on what platform and
>>> compiler dependent pre-processor macros are supplied, I would say that
>>> the output is not cross-platform.
>> ...which is why qbs does *not* have such a feature.
>> moc_XXX.cpp and XXX.moc files are generated per build configuration. The
>> output is not shared.
>> 
> 
> Right, moc files are not cross-platform but I think rcc & uic files are.

They are still build artefacts, and trying to add logic to figure out which of those can be shared between different targets and which can’t sounds like a nice way to introduce complexity that will bite us at some point.

Cheers,
Lars



More information about the Development mailing list