From: Matthieu Gallien Date: Thu, 1 Sep 2022 11:53:27 +0000 (+0200) Subject: let Qt use OpenGLES instead of desktop OpenGL to workaround bugs X-Git-Tag: archive/raspbian/3.16.7-1_deb13u1+rpi1~1^2~12^2~15^2~8^2 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=d1408df7baafcab02158879d5dae606952f62d5d;p=nextcloud-desktop.git let Qt use OpenGLES instead of desktop OpenGL to workaround bugs should help picking a working rendering pipeline on windows Signed-off-by: Matthieu Gallien --- diff --git a/src/gui/main.cpp b/src/gui/main.cpp index 90f6631c5..7b457366a 100644 --- a/src/gui/main.cpp +++ b/src/gui/main.cpp @@ -59,6 +59,7 @@ void warnSystray() int main(int argc, char **argv) { qputenv("QTWEBENGINE_CHROMIUM_FLAGS", "--disable-gpu --no-sandbox"); + QCoreApplication::setAttribute(Qt::AA_UseOpenGLES); #ifdef Q_OS_WIN SetDllDirectory(L"");