From 92122442948db6b706d2ba9ed6269a6daa4086af Mon Sep 17 00:00:00 2001 From: Thiago Macieira Date: Mon, 30 Mar 2015 10:57:37 -0700 Subject: 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 Reviewed-by: Frederik Gladhorn --- tests/auto/auto.pro | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests') diff --git a/tests/auto/auto.pro b/tests/auto/auto.pro index 01952aac3c..a46b8af4ff 100644 --- a/tests/auto/auto.pro +++ b/tests/auto/auto.pro @@ -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 } -- cgit v1.2.3