diff --git a/scripts/pyinstaller/win-startup-hook.py b/scripts/pyinstaller/win-startup-hook.py index 74e0423f0..fbc637784 100644 --- a/scripts/pyinstaller/win-startup-hook.py +++ b/scripts/pyinstaller/win-startup-hook.py @@ -36,6 +36,6 @@ if windll.kernel32.AttachConsole(-1): # Ensure bundled DLLs are loaded os.environ['PATH'] = os.pathsep.join(( os.path.normpath(sys._MEIPASS), - os.path.normpath(os.path.join(sys._MEIPASS, 'PyQt5\\Qt5\\bin')), + os.path.normpath(os.path.join(sys._MEIPASS, 'PyQt6\\Qt6\\bin')), os.environ['PATH'], ))