https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104964
--- Comment #19 from Martin Liška <marxin at gcc dot gnu.org> --- (In reply to Sam James from comment #18) > Thanks. I reported the Qt issue upstream at > https://bugreports.qt.io/browse/QTBUG-103782. Note the Qt6 code is fine (uses reinterpret_cast<uintptr_t>(this)) and it's what we backported to Qt5. So the current Qt code seems fine.