wayland: print warning about automatic backend selection
BUG: 457491
This commit is contained in:
parent
aaa5e6fee3
commit
02f55e0e40
1 changed files with 3 additions and 0 deletions
|
@ -468,10 +468,13 @@ int main(int argc, char *argv[])
|
||||||
backendType = BackendType::Virtual;
|
backendType = BackendType::Virtual;
|
||||||
} else {
|
} else {
|
||||||
if (qEnvironmentVariableIsSet("WAYLAND_DISPLAY")) {
|
if (qEnvironmentVariableIsSet("WAYLAND_DISPLAY")) {
|
||||||
|
qWarning("No backend specified, automatically choosing Wayland because WAYLAND_DISPLAY is set");
|
||||||
backendType = BackendType::Wayland;
|
backendType = BackendType::Wayland;
|
||||||
} else if (qEnvironmentVariableIsSet("DISPLAY")) {
|
} else if (qEnvironmentVariableIsSet("DISPLAY")) {
|
||||||
|
qWarning("No backend specified, automatically choosing X11 because DISPLAY is set");
|
||||||
backendType = BackendType::X11;
|
backendType = BackendType::X11;
|
||||||
} else {
|
} else {
|
||||||
|
qWarning("No backend specified, automatically choosing drm");
|
||||||
backendType = BackendType::Kms;
|
backendType = BackendType::Kms;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue