summaryrefslogtreecommitdiffstats
path: root/tests/auto/auto.pro
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/auto.pro')
-rw-r--r--tests/auto/auto.pro2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/auto.pro b/tests/auto/auto.pro
index a1ffe5b3ce..fbd89e4045 100644
--- a/tests/auto/auto.pro
+++ b/tests/auto/auto.pro
@@ -35,7 +35,7 @@ else:!qtConfig(process): SUBDIRS -= tools
# Disable the QtDBus tests if we can't connect to the session bus
!cross_compile:qtHaveModule(dbus) {
- !system("dbus-send --session --type=signal / local.AutotestCheck.Hello >/dev/null 2>&1") {
+ !system("dbus-send --session --type=signal / local.AutotestCheck.Hello >$$QMAKE_SYSTEM_NULL_DEVICE 2>&1") {
qtConfig(dbus-linked): \
error("QtDBus is enabled but session bus is not available. Please check the installation.")
else: \