mirror of
https://github.com/ankitects/anki.git
synced 2025-09-20 06:52:21 -04:00

* Expose video driver options for Qt6 * Default to d3d11/metal/vulkan on Qt6 * Remove `pass` * Add missing word to existing translation * Default to OpenGL on Linux * Exclude Vulkan from macOS * Label default drivers
21 lines
653 B
Python
21 lines
653 B
Python
# Copyright: Ankitects Pty Ltd and contributors
|
|
# License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
|
|
|
# make sure not to optimize imports on this file
|
|
# pylint: disable=unused-import
|
|
|
|
"""
|
|
PyQt6 imports
|
|
"""
|
|
|
|
from PyQt6 import sip
|
|
from PyQt6.QtCore import *
|
|
|
|
# conflicting Qt and qFuzzyCompare definitions require an ignore
|
|
from PyQt6.QtGui import * # type: ignore[misc,assignment]
|
|
from PyQt6.QtNetwork import QLocalServer, QLocalSocket, QNetworkProxy
|
|
from PyQt6.QtQuick import *
|
|
from PyQt6.QtWebChannel import QWebChannel
|
|
from PyQt6.QtWebEngineCore import *
|
|
from PyQt6.QtWebEngineWidgets import *
|
|
from PyQt6.QtWidgets import *
|