mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 22:12:21 -04:00
ignore requested graphics driver on Qt6 for now
This commit is contained in:
parent
20c1a3af56
commit
a5ed0b0bc7
1 changed files with 4 additions and 0 deletions
|
@ -405,6 +405,10 @@ def setupGL(pm: aqt.profiles.ProfileManager) -> None:
|
||||||
|
|
||||||
qInstallMessageHandler(msgHandler)
|
qInstallMessageHandler(msgHandler)
|
||||||
|
|
||||||
|
# ignore set graphics driver on Qt6 for now
|
||||||
|
if qtmajor > 5:
|
||||||
|
return
|
||||||
|
|
||||||
if driver == VideoDriver.OpenGL:
|
if driver == VideoDriver.OpenGL:
|
||||||
pass
|
pass
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Reference in a new issue