d6961c09de (qt/qtdeclarative/dev) d6961c09de (qt/tqtc-qtdeclarative/dev) 639920a27f (qt/tqtc-qtdeclarative/6.2) a6aeb9df47 (qt/qtdeclarative/6.4) a6aeb9df47 (qt/tqtc-qtdeclarative/6.4) 639920a27f (qt/tqtc-qtdeclarative/6.2.7)
When building Qt in debug mode my application runs into the following assertion:
ASSERT: "idx != m_coreIndex" in file qtbase/include/QtQml/6.4.1/QtQml/private/../../../../../../qtdeclarative/src/qml/qml/qqmlpropertydata_p.h, line 243
The assertion is related to having READ/WRITE accessors of a property also being defined as Q_INVOKABLE.
Of course this does not make much sense and can be solved easily by simply removing the Q_INVOKABLE keyword. However it took me some time to find the reason for the assertion and I thought it is worth to at least report it.
Q_PROPERTY( QVector< Stop > stops READ stops WRITE setStops )
Q_INVOKABLE void setStops( const QVector< Stop >& );
Q_INVOKABLE const QVector< Stop >& stops() const;