2023-12-14 03:38:41 +08:00
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
2020-12-09 05:37:05 +08:00
|
|
|
# Copyright 2020 The Meson development team
|
|
|
|
|
2023-01-07 03:39:54 +08:00
|
|
|
from __future__ import annotations
|
|
|
|
import typing as T
|
|
|
|
|
2024-04-10 00:50:13 +08:00
|
|
|
from ._qt import QtBaseModule
|
2022-07-15 03:59:48 +08:00
|
|
|
from . import ModuleInfo
|
2020-12-09 05:37:05 +08:00
|
|
|
|
2023-01-07 03:39:54 +08:00
|
|
|
if T.TYPE_CHECKING:
|
|
|
|
from ..interpreter import Interpreter
|
2020-12-09 05:37:05 +08:00
|
|
|
|
|
|
|
class Qt6Module(QtBaseModule):
|
|
|
|
|
2022-07-15 03:59:48 +08:00
|
|
|
INFO = ModuleInfo('qt6', '0.57.0')
|
|
|
|
|
2023-01-07 03:39:54 +08:00
|
|
|
def __init__(self, interpreter: Interpreter):
|
2020-12-09 05:37:05 +08:00
|
|
|
QtBaseModule.__init__(self, interpreter, qt_version=6)
|
|
|
|
|
|
|
|
|
2023-01-07 03:39:54 +08:00
|
|
|
def initialize(interp: Interpreter) -> Qt6Module:
|
|
|
|
return Qt6Module(interp)
|