Fix compiler warnings when building with Qt6

Merge request reports

Loading