Final bits and pieces for building with Qt6
Minor build system changes, missing includes, a changed return type of D-Bus type registration.
With this there is only one remaining issue, the generated screencast Wayland client code is broken (same as in all other modules using this).