Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/Ultimaker/Cura.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'cura_app.py')
-rwxr-xr-xcura_app.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/cura_app.py b/cura_app.py
index cc8a1d575c..b94909fc04 100755
--- a/cura_app.py
+++ b/cura_app.py
@@ -226,6 +226,12 @@ if Platform.isLinux() and getattr(sys, "frozen", False):
import trimesh.exchange.load
os.environ["LD_LIBRARY_PATH"] = old_env
+# WORKAROUND: Cura#5488
+# When using the KDE qqc2-desktop-style, the UI layout is completely broken, and
+# even worse, it crashes when switching to the "Preview" pane.
+if Platform.isLinux():
+ os.environ["QT_QUICK_CONTROLS_STYLE"] = "default"
+
if ApplicationMetadata.CuraDebugMode:
ssl_conf = QSslConfiguration.defaultConfiguration()
ssl_conf.setPeerVerifyMode(QSslSocket.VerifyNone)