Silence Qt warning

Was:

Attribute Qt::AA_ShareOpenGLContexts must be set before QCoreApplication is created.
This commit is contained in:
Joerg Wunsch
2024-04-17 23:08:23 +02:00
parent 0b93a165e8
commit 2026142511

View File

@@ -1768,6 +1768,7 @@ considered a pattern that will be replaced by the <tt>fuse</tt><strong>N</strong
b'B`\x82'
def main():
QCoreApplication.setAttribute(Qt.AA_ShareOpenGLContexts)
gui = adgui(sys.argv)
global pyside