Re: [Interest] qt_add_qml_model() dependency issue

2023-10-29 Thread Stefan Seefeld
Thanks Sze-Howe, that looks indeed like what I'm running into. Unfortunately, ninja isn't an option for me, so I'll have to wait for the real fix. (I assume the fix is or will be contained in the Qt6CoreMacros.cmake file, so I may be able to just patch that rather than having to upgrade our Qt

Re: [Interest] qt_add_qml_model() dependency issue

2023-10-28 Thread Sze Howe Koh
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,

[Interest] qt_add_qml_model() dependency issue

2023-10-28 Thread Stefan Seefeld
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