--- a/src/eric7/Preferences/__init__.py Tue Sep 13 20:00:55 2022 +0200 +++ b/src/eric7/Preferences/__init__.py Wed Sep 14 11:07:55 2022 +0200 @@ -2763,7 +2763,7 @@ s = Prefs.settings.value("Help/{0}".format(key), Prefs.helpDefaults[key]) if s == "": s = os.getenv(key.upper(), "") - if s == "": + if s == "" and version == 6: # that only works for Qt6 s = os.path.join( QLibraryInfo.path(QLibraryInfo.LibraryPath.DocumentationPath), "qtdoc" )