See also downstream report. Fedora have a patch for that: https://src.fedoraproject.org/rpms/kwave/blob/rawhide/f/kwave-gcc11.patch
Seems to have been fixed by Qt5 GCC-11 header fixes instead, patch no longer necessary.