sets special configuration to webengine to work around bugs
authorMatthieu Gallien <matthieu.gallien@nextcloud.com>
Fri, 26 Aug 2022 12:51:53 +0000 (14:51 +0200)
committerMatthieu Gallien <matthieu_gallien@yahoo.fr>
Sun, 4 Sep 2022 20:20:38 +0000 (22:20 +0200)
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
src/gui/main.cpp

index 8b95de13888bbbf36f5242ccc974bd42c8b30b9e..90f6631c5922dce8e2521a511a9d1000b3a5ac15 100644 (file)
@@ -58,6 +58,8 @@ void warnSystray()
 
 int main(int argc, char **argv)
 {
+    qputenv("QTWEBENGINE_CHROMIUM_FLAGS", "--disable-gpu --no-sandbox");
+
 #ifdef Q_OS_WIN
     SetDllDirectory(L"");
 #endif