-
Bug
-
Resolution: Done
-
P3: Somewhat important
-
4.8.1
-
None
Subclasses of QDeclarativePropertyMap have a wrong metaObject(): instead of returning the metaObject of the subclass, QDeclarativePropertyMap's metaObject() is returned.
I noticed this because I added a slot called "
onOriginChanged()" to my subclass, but then I cannot connect a signal to it:
Object::connect: No such slot QDeclarativePropertyMap::onOriginChanged()
It seems that QDeclarativePropertyMap plays some weird tricks with the QObjectPrivate structure.
For Gerrit Dashboard: QTBUG-26400 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
31549,3 | Allow access to signals and slots in QQmlPropertyMap inheritors | master | qt/qtdeclarative | Status: MERGED | +2 | 0 |