https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81327
--- Comment #11 from Ville Voutilainen <ville.voutilainen at gmail dot com> --- The issue is again that users of existing Qt versions will see the warnings, and they also turn to errors. I can fix the non-casting uses, but I would recommend removing this warning from -Wall as well.