--- a/eric7/WebBrowser/QtHelp/HelpDocsInstaller.py Sun May 16 11:43:59 2021 +0200 +++ b/eric7/WebBrowser/QtHelp/HelpDocsInstaller.py Sun May 16 20:07:24 2021 +0200 @@ -10,10 +10,10 @@ import os -from PyQt5.QtCore import ( +from PyQt6.QtCore import ( pyqtSignal, QThread, Qt, QMutex, QDateTime, QDir, QLibraryInfo, QFileInfo ) -from PyQt5.QtHelp import QHelpEngineCore +from PyQt6.QtHelp import QHelpEngineCore from eric7config import getConfig @@ -127,12 +127,12 @@ if version == 4: docsPath = QDir( - QLibraryInfo.location( - QLibraryInfo.LibraryLocation.DocumentationPath) + + QLibraryInfo.path( + QLibraryInfo.LibraryPath.DocumentationPath) + QDir.separator() + "qch") elif version == 5: - docsPath = QLibraryInfo.location( - QLibraryInfo.LibraryLocation.DocumentationPath) + docsPath = QLibraryInfo.path( + QLibraryInfo.LibraryPath.DocumentationPath) if ( not os.path.isdir(docsPath) or len(QDir(docsPath).entryList(["*.qch"])) == 0