Details
-
Bug
-
Resolution: Fixed
-
P2: Important
-
5.0.0, 5.1.0 , 5.2.0, 5.3.0, 5.4.0
-
None
-
64fff601a78887e321cd7d486974fe7dfe065d6b (qt/qtmultimedia/5.15)
Description
QGraphicsVideoItem does not override the virtual function QGraphicsItem::type(). This prevents qgraphicsitem_cast(..) from distinguishing QGraphicsVideoItem instances from any other QGraphicsItem-derived object that does not override type() or has a type() function that returns 65536 (UserType).
This can be a problem in a number of cases, but is particularly problematic for PyQt: http://www.riverbankcomputing.com/pipermail/pyqt/2015-January/035302.html
Edit: This can't happen before Qt 6.0 as it breaks binary compatibility.
Attachments
For Gerrit Dashboard: QTBUG-45064 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
274259,3 | Override QGraphicsItem::type in QGraphicsVideoItem | 5.13 | qt/qtmultimedia | Status: MERGED | +2 | 0 |