linux: disable qmldiskcache

Seems bugguy on some distributions...

Change-Id: I985d64cc36445ce2b68fe091ad060601071a3e04
This commit is contained in:
Sébastien Blin
2021-08-25 14:39:39 -04:00
parent ce0c7124af
commit 85286bb874

View File

@@ -63,6 +63,7 @@ main(int argc, char* argv[])
#ifdef Q_OS_LINUX
setenv("QT_QPA_PLATFORMTHEME", "gtk3", true);
setenv("QML_DISABLE_DISK_CACHE", "1", true);
#ifdef __GLIBC__
// Current glibc is causing some bugs with font loading
// See https://bugreports.qt.io/browse/QTBUG-92969