mirror of
https://github.com/ankitects/anki.git
synced 2026-10-02 05:24:38 +08:00
d5d38ec1513ba6397b1b5a462e3ca1b12afa1171
## Linked issue Closes #5627 ## Summary This improves graphics error detection so that the "Failed to create RHI for backend" error returned by Qt is matched. The error message apparently changed somewhere around Qt 6.11. We have at least one report from 26.05b1: https://forums.ankiweb.net/t/anki-26-05-beta-1/69707/27 ## How to test Try: ``` echo opengl > ~/.local/share/Anki2/gldriver6 # or delete the file QT_QPA_PLATFORM=xcb QT_XCB_GL_INTEGRATION=none ./run ``` According to my tests on a Ubuntu 26.04 VM, both "Failed to create RHI" and "Failed to create QRhi" got printed, so I couldn't reproduce the case where the error message is not shown. This is hardware-dependent.
Anki
This repo contains the source code for the computer version of Anki.
About
Anki is a spaced repetition program. Please see the website to learn more.
Getting Started
Contributing
Want to contribute to Anki? Check out the Contribution Guidelines.
For more information on building and developing, please see Development.
Contributors
The following people have contributed to Anki: CONTRIBUTORS
Anki Betas
If you'd like to try development builds of Anki but don't feel comfortable building the code, please see Anki betas.
License
Anki's license: LICENSE
Languages
Rust
37.5%
Python
22.9%
MDX
19.5%
TypeScript
9.5%
Svelte
8.9%
Other
1.3%