Priority: P3: Somewhat important
Affects Version/s: 5.9.7, 5.12.1
Environment:Windows, Qt-5.9.7, debug -> crash
Windows, Qt-5.9.7, release -> crash
Linux, Qt-5.9.7, debug -> crash
Linux, Qt-5.12.1, debug -> crash
Linux, Qt-5.12.1, release -> ok
Qt-binaries downloaded and installed from http://download.qt.io/official_releases/qt/
The application crashes when dynamic_casting eventFilter()'s first parameter 'QObject obj' to a QWidget. qobject_casting works.
The crash happens while eventFilter() is called with an obj originating from Qt5WebEngineCored, see attached screenshot.
A minimal application which reproduces the crash is attached.
PS: There is the class MessagePumpForUIQt which inherits QObject, but has no Q_OBJECT-Macro.