Find qdbus command correctly

Authored by ngraham on Dec 11 2019, 1:26 PM.

Description

Find qdbus command correctly

Summary:
The wallpaper knsrc file file assumes that qdbus is in $PATH. However this is not
guaranteed; the command lives in the Qt binaries dir which is not typically in $PATH,
and distros typically create symlinks with different names in /usr/bin, but not all
create a second compatibility symlink at /usr/bin/qdbus that points to the version
for the current Qt version.

Therefore, we should find the command in the Qt binaries dir itself rather than relying
on these compatibility symlinks.

Test Plan: See that the knsrc file now has the absolute path to qdbus in it

Reviewers: davidedmundson, fvogt, Plasma, apol

Reviewed By: apol

Subscribers: plasma-devel

Tags: Plasma

Differential Revision: https://phabricator.kde.org/D25884

Details

Committed
ngrahamDec 11 2019, 4:36 PM
Reviewer
apol
Differential Revision
D25884: Find qdbus command correctly
Parents
R120:34ca49210ff4: [Notifications] Fix crash accessing ViewTransition attached property
Branches
Unknown
Tags
Unknown