From 22b9a66f7c8281de4dc9bbdfb0614e8c1a91f895 Mon Sep 17 00:00:00 2001 From: Eli Schwartz Date: Tue, 15 Mar 2022 19:55:16 -0400 Subject: qt module: move comment to the correct location after refactoring In commit f291b637b13ba32e20d1081906e68780d2a5ae5a the tools were moved around but a comment got forgotten. Now, in order to be meaningful and remind us of anything, it needs to be in a different location. --- mesonbuild/modules/qt.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'mesonbuild') diff --git a/mesonbuild/modules/qt.py b/mesonbuild/modules/qt.py index 9fd9f66..fae4d97 100644 --- a/mesonbuild/modules/qt.py +++ b/mesonbuild/modules/qt.py @@ -106,6 +106,8 @@ class QtBaseModule(ExtensionModule): def __init__(self, interpreter: 'Interpreter', qt_version: int = 5): ExtensionModule.__init__(self, interpreter) self.qt_version = qt_version + # It is important that this list does not change order as the order of + # the returned ExternalPrograms will change as well self.tools: T.Dict[str, ExternalProgram] = { 'moc': NonExistingExternalProgram('moc'), 'uic': NonExistingExternalProgram('uic'), @@ -123,8 +125,6 @@ class QtBaseModule(ExtensionModule): def compilers_detect(self, state: 'ModuleState', qt_dep: 'QtDependencyType') -> None: """Detect Qt (4 or 5) moc, uic, rcc in the specified bindir or in PATH""" - # It is important that this list does not change order as the order of - # the returned ExternalPrograms will change as well wanted = f'== {qt_dep.version}' def gen_bins() -> T.Generator[T.Tuple[str, str], None, None]: -- cgit v1.1