From 19d62da737dead7e2957703872bd5ecc038ac29e Mon Sep 17 00:00:00 2001 From: "c.lamboo" Date: Mon, 11 Jul 2022 00:05:15 +0200 Subject: [PATCH] Possible fix for Cura crashing on Zorin OS 16 Appearently the `QT_STYLE_OVERRIDE` variable is set for some users, crashing Cura. Unset variable `QT_STYLE_OVERRIDE` as a precaution https://github.com/Ultimaker/Cura/issues/12343 --- packaging/AppImage/AppRun | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/packaging/AppImage/AppRun b/packaging/AppImage/AppRun index 5a134fa12d..d2beac8745 100644 --- a/packaging/AppImage/AppRun +++ b/packaging/AppImage/AppRun @@ -14,3 +14,7 @@ export QT_XKB_CONFIG_ROOT=/usr/share/X11/xkb export OPENSSL_CONF="$scriptdir/openssl.cnf" $scriptdir/Ultimaker-Cura "$@" + +# If this variable is set on Zorin OS 16 Cura would crash +# unset `QT_STYLE_OVERRIDE` as a precaution +unset QT_STYLE_OVERRIDE \ No newline at end of file