QtPlatformSupport: Restrict usage of DBus for menu/tray icons to Unix
Otherwise, there is a needless dependency on DBus on Windows. Change-Id: I6ef9ec41a74c2f864dddf78abede205493eae5b3 Reviewed-by: René J.V. Bertin <rjvbertin@gmail.com> Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
This commit is contained in:
parent
547d3f0ebe
commit
4c1c68b2ba
@ -22,10 +22,10 @@ include(linuxaccessibility/linuxaccessibility.pri)
|
||||
include(clipboard/clipboard.pri)
|
||||
include(platformcompositor/platformcompositor.pri)
|
||||
|
||||
# dbus convenience, but not for darwin: the platform
|
||||
# dbus convenience for unix except darwin: the platform
|
||||
# plugins for these platforms do not use dbus and we
|
||||
# don't want to create a false dependency.
|
||||
!darwin:qtConfig(dbus) {
|
||||
unix:!darwin:qtConfig(dbus) {
|
||||
include(dbusmenu/dbusmenu.pri)
|
||||
include(dbustray/dbustray.pri)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user