Exclude files from Unity Build


`dbusPath()` is defined in several places, and it seems to me that it
can be implemented as a private static data member. When resolved, we
can remove these files from the exclusion list.

Pick-to: 6.5
Task-number: QTBUG-109394
Change-Id: I1f4290fb8495ce1f1c941a46240b60c8fed4bbe4
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
commit416dbee5ce0d60383adcf33fdf822efc8ea85b0d
parent1ba2346d04301f4da5ffe237c5ffab18af3b6df4
authorAmir Masoud Abdol <amir.abdol@qt.io>
committerAmir Masoud Abdol <amir.abdol@qt.io>
commit timeSun, 23 Apr 2023 15:29:47 +0200