mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-04-16 18:59:39 +08:00
Avoid crash caused by KDE qqc2-desktop-style
Workaround/fix for #5488 Also see https://bugs.kde.org/show_bug.cgi?id=417900
This commit is contained in:
parent
4cb239a97f
commit
64a5349018
@ -207,5 +207,11 @@ 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"] = "material"
|
||||
|
||||
app = CuraApplication()
|
||||
app.run()
|
||||
|
Loading…
x
Reference in New Issue
Block a user