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 <matthieu.gallien@nextcloud.com>
This commit is contained in:
parent
0092ad15c7
commit
d1408df7ba
|
@ -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"");
|
||||
|
|
Loading…
Reference in New Issue