Initial support for building against Qt6
This mainly includes build system changes and minor code changes, the only still remaining issue is the D-Bus menu code. That compiles but fails to link as the corresponding classes in Qt are not exported despite installed (private) headers.