<div dir="ltr"><div>When my code, long subsequent to creating the QApplication and a main window, hits this statement,</div><div><br></div><div>    from PyQt6.QtWebEngineWidgets import QWebEngineView</div><div><br></div><div>the following error message appears,</div><div><br></div><div>Qt WebEngine seems to be initialized from a plugin. Please set Qt::AA_ShareOpenGLContexts using QCoreApplication::setAttribute and QSGRendererInterface::OpenGLRhi using QQuickWindow::setGraphicsApi before constructing QGuiApplication.</div><div><br></div><div>I could do the first thing at the time I create the QApplication, but I never have cause to import QQuickWindow and don't want to.</div><div><br></div><div>Can anybody shed light on what this is about?</div><div><br></div></div>