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, Eric Pettersen | |
| 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
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 , 6 years ago
| Resolution: | → fixed |
|---|---|
| Status: | assigned → closed |
comment:2 by , 6 years ago
| Resolution: | fixed |
|---|---|
| Status: | closed → reopened |
comment:3 by , 6 years ago
| Resolution: | → nonchimerax |
|---|---|
| Status: | reopened → closed |
Note:
See TracTickets
for help on using tickets.
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.