PipeWire: fix builds without D-Bus


QPipeWireInstance is built whenever PipeWire is enabled, but the
ScreenCast portal check depends on Qt D-Bus, which is only available
when PipeWire screen capture is enabled.

Guard the D-Bus includes and portal query with the screen capture
feature. Report the portal as unavailable when the feature is
disabled.

Amends b347c5cd95ce9bc5b4abd1688d433001ce4c633f

Pick-to: 6.12
Change-Id: I5d63798e1a350b83d6f1915676022b444d083c6e
Reviewed-by: Tim Blechmann <tim.blechmann@qt.io>
commit533290031359d5449a54d04afa28b22c4a945da3
parent48aa9a8f41885b1afe0581b40a4a25850c76141f
authorAurélien Brooke <aurelien@bahiasoft.fr>
committerAurélien Brooke <aurelien@bahiasoft.fr>
commit timeThu, 10 Sep 2026 09:55:39 +0000