Thanks again for your reply!
I did explore the QWebEnginePage idea but when I want to import it
Code:
from PyQt5.QtWebEngineWidgets import QWebEnginePage
I get:
calibre, version 4.8.0
ERROR: Invalid recipe: Failed to compile the recipe, with syntax error: QtWebEngineWidgets must be imported before a QCoreApplication instance is created
So I tried so trick found on internet which is to call first
Code:
from PyQt5.QtWidgets import QApplication
app = QApplication.instance()
if app is not None:
import sip
app.quit()
sip.delete(app)
but app.quit() is actually killing Calibre....
Any thoughts?
Thanks a lot!