Source code changes to enable building against Qt6

The needed build system changes aren't included as those require a newer ECM version than required here.

Merge request reports

Loading