[Development] moc output from non-local tool build

Joerg Bornemann joerg.bornemann at qt.io
Tue Sep 14 21:08:20 CEST 2021


On 9/14/21 6:10 PM, Joerg Bornemann wrote:
> On 9/14/21 4:29 PM, Thiago Macieira wrote:
>> On Tuesday, 14 September 2021 00:51:21 PDT Joerg Bornemann wrote:
>>> The maintenance burden is next level. This would mean to keep all
>>> internal API that's used in lib/cmake compatible. Apparently forward and
>>> backward if I read your requirements correctly.
>>
>> Why? The host build's cmake files should not at all be used or 
>> influence how
>> they're used. All we need is the path to the tools, which are all in the
>> libexec of that build.
> 
> You got a point there. This needs more investigation, but I think 
> QTBUG-85084 is related.

I've experimented with this and came up with
https://codereview.qt-project.org/c/qt/qtbase/+/370958
which allows to build qtbase dev (6.3.0) against a host Qt 6.1.2.

Note that we don't have any version restriction if we go that route.


Joerg


More information about the Development mailing list