Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.0.1
-
None
-
Windows 7 SP1 x64
Microsoft Visual C++ 2010 SP1 x64 build target
-
2db2cde0d8433ad1aed59412717c4cddf496ba66
Description
When building with RTTI disabled the compilation fails on:
qtmultimedia\src\plugins\wmf\player\mfvideorenderercontrol.cpp:2199
because of QChildEvent childEvent = dynamic_cast<QChildEvent>(event);
wich is normal, but I wonder why such dynamic_cast is left?
I have fixed the issue by checking the QEvent::type() if actually is QChildEvent and then cast it using simple static_cast.