eric6/DebugClients/Python/ModuleLoader.py

changeset 7911
4621c9082a43
parent 7894
4370a8b30648
child 7923
91e843545d9a
--- a/eric6/DebugClients/Python/ModuleLoader.py	Wed Dec 23 16:28:35 2020 +0100
+++ b/eric6/DebugClients/Python/ModuleLoader.py	Thu Dec 24 16:17:57 2020 +0100
@@ -41,7 +41,9 @@
             'subprocess',
             'multiprocessing',
             'PyQt5.QtCore',
+            'PyQt6.QtCore',
             'PySide2.QtCore',
+            'PySide6.QtCore',
         )
         
         sys.meta_path.insert(0, self)
@@ -100,7 +102,8 @@
         
         ## Add hook for *.QThread and *.QProcess
         elif (
-            fullname in ('PyQt5.QtCore', 'PySide2.QtCore') and
+            fullname in ('PyQt5.QtCore', 'PyQt6.QtCore',
+                         'PySide2.QtCore', 'PySide6.QtCore') and
             not hasattr(module, 'eric6_patched')
         ):
             module.eric6_patched = True

eric ide

mercurial