From 2f0181a8db07e8e3884a23c671119c532dcaf78e Mon Sep 17 00:00:00 2001 From: Philipp Wolfer Date: Mon, 6 Feb 2023 08:40:58 +0100 Subject: [PATCH] PICARD-2331: Adjust PyInstaller hook for Qt6 --- scripts/pyinstaller/win-startup-hook.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'], ))