Qt Widgets Designer: Fix Axivion(SV70928): Qt-ChildEventQObjectCast
Avoid qobject_cast() in QEvent::ChildAdded since the child
might not be fully constructed. However, QWidget as such
should always be fully constructed in this case, so, the
warnings is a false positive of sorts.
Pick-to: 6.11
Change-Id: I43869a92e8271dd217246430d4e9e13a3cf0788e
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
| commit | c9cc03bbe28c1efa2a9c98011d00bf6d0b3e6a6d |
| parent | dbab79f845b0af28d2190ec1ad1e2034e08b1c46 |
| author | Friedemann Kleint <Friedemann.Kleint@qt.io> |
| committer | Friedemann Kleint <Friedemann.Kleint@qt.io> |
| commit time | Fri, 10 Apr 2026 13:59:06 +0200 |