diff --git a/src/calibre/constants.py b/src/calibre/constants.py index 5646bdd20a..38a75eb119 100644 --- a/src/calibre/constants.py +++ b/src/calibre/constants.py @@ -203,6 +203,9 @@ class DeVendor: return find_spec('feedparser') if fullname.startswith('calibre.ebooks.markdown'): return ModuleSpec(fullname, DeVendorLoader(fullname[len('calibre.ebooks.'):])) + if fullname.startswith('PyQt5.'): + # this is present for third party plugin compat + return ModuleSpec(fullname, DeVendorLoader('qt.webengine' if 'QWebEngine' in fullname else 'qt.core')) class ExtensionsPackageLoader: