qt5-qtbase/SOURCES/qtbase-allow-dbus-not-running-during-build.patch

14 lines
777 B
Diff
Raw Normal View History

2019-11-05 18:48:40 +00:00
diff --git a/tests/auto/auto.pro b/tests/auto/auto.pro
index fbd89e40..722281c1 100644
--- a/tests/auto/auto.pro
+++ b/tests/auto/auto.pro
@@ -37,7 +37,7 @@ else:!qtConfig(process): SUBDIRS -= tools
!cross_compile:qtHaveModule(dbus) {
!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.")
+ warning("QtDBus is enabled but session bus is not available. Please check the installation.")
else: \
warning("QtDBus is enabled with runtime support, but session bus is not available. Skipping QtDBus tests.")
SUBDIRS -= dbus