diff -r 866adc8c315b -r 0acf98cd089a eric6/Globals/__init__.py --- a/eric6/Globals/__init__.py Sun Jan 17 13:53:08 2021 +0100 +++ b/eric6/Globals/__init__.py Mon Feb 01 10:38:16 2021 +0100 @@ -282,11 +282,14 @@ path = "" # step 1: check, if the user has configured a tools path - path = Preferences.getQt("PyQtToolsDir") + if version == 5: + path = Preferences.getQt("PyQtToolsDir") + elif version == 6: + path = Preferences.getQt("PyQt6ToolsDir") - # step 2: determine from used Python interpreter (pyrcc is test object) + # step 2: determine from used Python interpreter (pylupdate is test object) if not path: - program = "pyrcc{0}".format(version) + program = "pylupdate{0}".format(version) if isWindowsPlatform(): program += ".exe" dirName = os.path.dirname(sys.executable)