HomePhabricator

depends: only use D-Bus with Qt on linux

Description

depends: only use D-Bus with Qt on linux

Summary:

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.

Test Plan: Run the Gitian builds.

Reviewers: #bitcoin_abc, deadalnix

Reviewed By: #bitcoin_abc, deadalnix

Differential Revision: https://reviews.bitcoinabc.org/D5680

Details

Provenance
FabienAuthored on Apr 6 2020, 14:43
FabienPushed on Apr 8 2020, 13:19
Reviewer
Restricted Project
Differential Revision
D5680: depends: only use D-Bus with Qt on linux
Parents
rABC5135b37cefd9: [CMAKE] Enable DBus on Linux only
Branches
Unknown
Tags
Unknown