```
Since #8210 we've been passing -dbus-runtime when configuring Qt,
however D-Bus isn't used on macOS or Windows. So rather than blanket
passing -dbus-runtime, only use D-Bus when building for linux, and
disable it for Windows and macOS. This also saves some time building qt
in depends (for windows or macOS).
```
Backport of core PR17521.
Depends on D5679.