From 02f55e0e40b5012b425cc3d6834509d5cafbffbd Mon Sep 17 00:00:00 2001 From: Xaver Hugl Date: Thu, 4 Aug 2022 21:23:47 +0200 Subject: [PATCH] wayland: print warning about automatic backend selection BUG: 457491 --- src/main_wayland.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/main_wayland.cpp b/src/main_wayland.cpp index 07256d13bc..67a091ccd3 100644 --- a/src/main_wayland.cpp +++ b/src/main_wayland.cpp @@ -468,10 +468,13 @@ int main(int argc, char *argv[]) backendType = BackendType::Virtual; } else { if (qEnvironmentVariableIsSet("WAYLAND_DISPLAY")) { + qWarning("No backend specified, automatically choosing Wayland because WAYLAND_DISPLAY is set"); backendType = BackendType::Wayland; } else if (qEnvironmentVariableIsSet("DISPLAY")) { + qWarning("No backend specified, automatically choosing X11 because DISPLAY is set"); backendType = BackendType::X11; } else { + qWarning("No backend specified, automatically choosing drm"); backendType = BackendType::Kms; } }