Fix Qt6 support

Nicolas Fella requested to merge work/nico/unfuck into master

Merge request reports