Opened 6 years ago

Closed 6 years ago

#2121 closed defect (nonchimerax)

Startup warning about Qt::AA_ShareOpenGLContexts

Reported by: Tom Goddard Owned by: Tom Goddard
Priority: moderate Milestone:
Component: Graphics Version:
Keywords: Cc: Greg Couch, pett
Blocked By: Blocking:
Notify when closed: Platform: all
Project: ChimeraX

Description

ChimeraX on Mac is giving a startup warning

Attribute Qt::AA_ShareOpenGLContexts must be set before QCoreApplication is created.

This is a Qt bug, the warning comes from QWebEngine initialization as described in this Qt 5.12 bug report

https://bugreports.qt.io/browse/QTBUG-76391

We also use a shared context when we go into sequential stereo so we should set this attribute and test that ChimeraX stereo is still working.

Change History (3)

comment:1 by Tom Goddard, 6 years ago

Resolution: fixed
Status: assignedclosed

This warning will be fixed in a future version of Qt.

Our code was not setting this attribute, but it should set it so that stereo and mono opengl contexts share vertex buffers. I added code to set Qt.AA_ShareOpenGLContexts.

comment:2 by Tom Goddard, 6 years ago

Resolution: fixed
Status: closedreopened

comment:3 by Tom Goddard, 6 years ago

Resolution: nonchimerax
Status: reopenedclosed
Note: See TracTickets for help on using tickets.