--- a/eric7/Utilities/__init__.py Fri May 21 17:51:12 2021 +0200 +++ b/eric7/Utilities/__init__.py Fri May 21 17:51:45 2021 +0200 @@ -53,7 +53,6 @@ from Globals import ( # __IGNORE_WARNING__ isWindowsPlatform, isLinuxPlatform, isMacPlatform, desktopName, getConfigDir, setConfigDir, getPythonLibraryDirectory, - getPythonModulesDirectory, # TODO: eric7: delete this line getPyQt5ModulesDirectory, getQtBinariesPath, getPyQtToolsPath, qVersionTuple) @@ -1599,7 +1598,7 @@ ############################################################################### -# functions for environment handling +## functions for environment handling ############################################################################### @@ -1651,7 +1650,7 @@ return len(entries) > 0 ############################################################################### -# Qt utility functions below +## Qt utility functions below ############################################################################### @@ -1724,7 +1723,7 @@ return ("open", newArgs) ############################################################################### -# PyQt utility functions below +## PyQt utility functions below ############################################################################### @@ -1759,7 +1758,7 @@ return exe ############################################################################### -# PySide2/PySide6 utility functions below +## PySide2/PySide6 utility functions below ############################################################################### @@ -1829,7 +1828,7 @@ return finished and proc.exitCode() == 0 ############################################################################### -# Other utility functions below +## Other utility functions below ############################################################################### @@ -1857,18 +1856,19 @@ info.append(" Python {0}, {1}".format(sys.version.split()[0], sizeStr)) info.append(" Qt {0}".format(qVersion())) - info.append(" PyQt {0}".format(PYQT_VERSION_STR)) + info.append(" PyQt6 {0}".format(PYQT_VERSION_STR)) try: - from PyQt6 import QtChart - info.append(" PyQtChart {0}".format(QtChart.PYQT_CHART_VERSION_STR)) + from PyQt6 import QtCharts + info.append(" PyQt6-Charts {0}".format( + QtCharts.PYQT_CHART_VERSION_STR)) except (ImportError, AttributeError): - info.append(" PyQtChart not installed") + info.append(" PyQt6-Charts not installed") try: from PyQt6 import QtWebEngine - info.append(" PyQtWebEngine {0}".format( + info.append(" PyQt6-WebEngine {0}".format( QtWebEngine.PYQT_WEBENGINE_VERSION_STR)) except (ImportError, AttributeError): - info.append(" PyQtWebEngine not installed") + info.append(" PyQt6-WebEngine not installed") info.append(" QScintilla {0}".format(QSCINTILLA_VERSION_STR)) info.append(" sip {0}".format(sip_version_str)) with contextlib.suppress(ImportError): @@ -1990,13 +1990,13 @@ return sysPath ############################################################################### -# posix compatibility functions below +## posix compatibility functions below ############################################################################### # None right now ############################################################################### -# win32 compatibility functions below +## win32 compatibility functions below ###############################################################################