Ignore Qt::AA_ShareOpenGLContexts warning

See https://bugreports.qt.io/browse/QTBUG-76391
Fixes #4848
This commit is contained in:
Florian Bruhin 2019-06-15 19:32:34 +02:00
parent 828c3d4376
commit d5ae3a76f3
1 changed files with 3 additions and 0 deletions

View File

@ -428,6 +428,9 @@ def qt_message_handler(msg_type, context, msg):
'QXcbWindow: Unhandled client message: ""',
# https://codereview.qt-project.org/176831
"QObject::disconnect: Unexpected null parameter",
# https://bugreports.qt.io/browse/QTBUG-76391
"Attribute Qt::AA_ShareOpenGLContexts must be set before "
"QCoreApplication is created.",
]
# not using utils.is_mac here, because we can't be sure we can successfully
# import the utils module here.