mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-04-28 23:04:34 +08:00
Merge branch 'workaround_kde_qqc2_crash' of https://github.com/StefanBruens/Cura into StefanBruens-workaround_kde_qqc2_crash
This commit is contained in:
commit
b49d5ab9e9
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user