When I run my Qt application I get the message 

Qt WebEngine seems to be initialized from a plugin. Please set
  Qt::AA_ShareOpenGLContexts using QCoreApplication::setAttribute before
  constructing QGuiApplication.

The app runs fine regardless of the fact that this is getting dumped to the terminal. I cant seem to find the root cause or really understand what this message is trying to tell me. What is this message saying and how can I fix it?
Using PySide6 instead of PySide2 solved my problem with python 3.9 and QT 5.15 if it can help
Qt WebEngine seems to be initialized