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,
S
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
Co
Oh wow, that's rude !
Thanks !
On Sat, Oct 28, 2023, 09:58 Constantin Makshin wrote:
> Hi Ulf.
>
> MOC is fine, it's the Q_GADGET macro:
> #define Q_GADGET_EXPORT(...) \
> public: \
> static __VA_ARGS__ const QMetaObject staticMetaObject; \
> void qt_check_for_QGADGET_macro(); \
>
Hi Ulf.
MOC is fine, it's the Q_GADGET macro:
#define Q_GADGET_EXPORT(...) \
public: \
static __VA_ARGS__ const QMetaObject staticMetaObject; \
void qt_check_for_QGADGET_macro(); \
typedef void QtGadgetHelper; \
private: \
QT_WARNING_PUSH \
Q_OBJECT_NO_ATTRIBUTES_WARNING \