Make it compile against qt6

2 jobs for !7 with work/fix_compile_against_qt6 in 46 seconds (queued for 2 seconds)
latest merge request