diff options
author | Ghostkeeper <rubend@tutanota.com> | 2022-01-11 16:12:04 +0300 |
---|---|---|
committer | Ghostkeeper <rubend@tutanota.com> | 2022-01-11 16:12:04 +0300 |
commit | 66648ca6114630e278001e7fbbf5bccd2c049615 (patch) | |
tree | aba2919389c69b3b9c51f51f876656171ba3cbad /cura_app.py | |
parent | f3c3f3187eafa16800459659b00d2cef7c61cd1b (diff) | |
parent | 020b8f7510152efb7bf23836310232c0ab72eed3 (diff) |
Merge branch '4.13'
Diffstat (limited to 'cura_app.py')
-rwxr-xr-x | cura_app.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/cura_app.py b/cura_app.py index b9a42f0aba..1520d2da67 100755 --- a/cura_app.py +++ b/cura_app.py @@ -1,6 +1,6 @@ #!/usr/bin/env python3 -# Copyright (c) 2020 Ultimaker B.V. +# Copyright (c) 2022 Ultimaker B.V. # Cura is released under the terms of the LGPLv3 or higher. # Remove the working directory from sys.path. @@ -15,6 +15,9 @@ if "" in sys.path: import argparse import faulthandler import os +if sys.platform != "linux": # Turns out the Linux build _does_ use this, but we're not making an Enterprise release for that system anyway. + os.environ["QT_PLUGIN_PATH"] = "" # Security workaround: Don't need it, and introduces an attack vector, so set to nul. + os.environ["QML2_IMPORT_PATH"] = "" # Security workaround: Don't need it, and introduces an attack vector, so set to nul. from PyQt5.QtNetwork import QSslConfiguration, QSslSocket |