Fix running of dbus-send on some systems
It was printing the following error: arguments to dbus_validate_bus_name() were incorrect, assertion "name != NULL" failed in file dbus-syntax.c line 248. This is normally a bug in some application using the D-Bus library. Change-Id: Iee8cbc07c4434ce9b560ffff13d0586189ba3a79 Reviewed-by: Liang Qi <liang.qi@theqtcompany.com> Reviewed-by: Frederik Gladhorn <frederik.gladhorn@theqtcompany.com>bb10
parent
509f77cca2
commit
9212244294
|
|
@ -32,7 +32,7 @@ cross_compile: SUBDIRS -= tools
|
|||
|
||||
# Disable the QtDBus tests if we can't connect to the session bus
|
||||
qtHaveModule(dbus) {
|
||||
!system("dbus-send --type=signal / local.AutotestCheck.Hello"): {
|
||||
!system("dbus-send --session --type=signal / local.AutotestCheck.Hello"): {
|
||||
warning("QtDBus is enabled but session bus is not available. Please check the installation.")
|
||||
SUBDIRS -= dbus
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue