Sounds like https://bugreports.qt.io/browse/QTBUG-106683 which was already
fixed in Qt 6.5.2.

However, there's still a related issue outstanding:
https://bugreports.qt.io/browse/QTBUG-115166

As a workaround, use Ninja instead of Makefiles, since Ninja wasn't
affected by these issues.


Regards,
Sze-Howe


On Sun, Oct 29, 2023, 06:04 Stefan Seefeld <ste...@seefeld.name> wrote:

> Hello,
>
> I just started using the `at_add_qml_model()` function, where the "backing
> target" is a (shared) library. I notice that each time I call `make`, the
> target is rebuilt. Specifically, the sequence
>
> ```
> Running moc --collect-json for target XXX
> Automatic QML type registration for target XXX
> Consolidate compiler generated dependencies of target XXX
> Building CXX object
> libs/XXX/CMakeFiles/XXX.dir/xxx_qmltyperegistrations.cpp.o
> ...
> ```
> is executed (and thus, everything depending on `XXX` needs to be updated
> as well.
>
> Is this a known issue ? I had expected a second call to `make` to do
> nothing, as all targets are up to date.
>
> Thanks,
>
>       ...ich hab' noch einen Koffer in Berlin
>
>
>
_______________________________________________
Interest mailing list
Interest@qt-project.org
https://lists.qt-project.org/listinfo/interest

Reply via email to