| 1 |
# SPDX-License-Identifier: Apache-2.0 |
| 2 |
# Copyright 2020 The Meson development team |
| 3 |
|
| 4 |
from __future__ import annotations |
| 5 |
import typing as T |
| 6 |
|
| 7 |
from ._qt import QtBaseModule |
| 8 |
from . import ModuleInfo |
| 9 |
|
| 10 |
if T.TYPE_CHECKING: |
| 11 |
from ..interpreter import Interpreter |
| 12 |
|
| 13 |
class Qt6Module(QtBaseModule): |
| 14 |
|
| 15 |
INFO = ModuleInfo('qt6', '0.57.0') |
| 16 |
|
| 17 |
def __init__(self, interpreter: Interpreter): |
| 18 |
QtBaseModule.__init__(self, interpreter, qt_version=6) |
| 19 |
|
| 20 |
|
| 21 |
def initialize(interp: Interpreter) -> Qt6Module: |
| 22 |
return Qt6Module(interp) |